can xsd definition of type reference the xml file itself?
I am trying to describe a set of java classes using XML. I need to have an xsd document as robost as possible, so it saves me headaches later on. Suppose I have a class node inside which I have a set or properties. Each property have a type attribute, the value of this attribute could be a class name in the xml document, or a set of primitive names like "integer" "float" etc. Can this scenario be defined in a xsd document? thanks a bunch.
There are a lot of Java->XML mapping solutions. Without knowing more about your specific needs, I would point you at JAXB, which is part of the JDK.
It can be achieved with ref/refid and key in the xsd.
How to decrypt password on hibernate
How to create an unique ID in java
How would I use Java reflection in this case?
Average of a certain part of an array
Schedule jasper report using quartz scheduler
How to split the character list when certain character is reached and store it as a string in java
Sping-Shiro Integration — HTML page
Extract contents of Zip file downloaded using a HTTP GET request
Unexpected response code 429 when using Volley in Android?
Displaying multiple languages in single xsl file
NumberFormatException on parsing JTextField input
Byte sent across SocketChannel but not received
read from file as parallel arrays in java
why different key with duplicated value disappear when transfer hashmap to treemap
Check if two ArrayLists accept the same class (same generic)
Is interfaces just compile time dependency?