This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes General XML related question... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "General XML related question..." Watch "General XML related question..." New topic
Author

General XML related question...

Pad Ven
Ranch Hand

Joined: Apr 29, 2005
Posts: 38
Hi all,
How to do cross-referncing in XSD? I want an attribute of one XML element to contain the same value as one of the values of an attribute in another XML element declared earlier? I want to enforce this dependency in XSD - something like a Foreign key constraint for databases? If so, can somebody provide an example? Are element to attribute and element to element cross-references possible? If so, please give examples for them also?

Thanks and regards,
TVP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: General XML related question...