File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "General XML related question..." Watch "General XML related question..." New topic

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,
I agree. Here's the link:
subject: General XML related question...
It's not a secret anymore!