Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Node Grouping

Status
Not open for further replies.

Dirk1965

Programmer
Nov 8, 2004
1
US
I'm new to XML, so please bare with me. I know that there is the ability to "group" attributes within XML. But I'm needing to find out if XML can handle somewhat of the opposite. Here we go... Say you have an attribute that is in an existing XML that is in multiple nodes. This attribute is identical in name and data content. Is there a way to architectually say that an attribute belongs to multiple nodes rather than creating that attribute in each of those nodes. What I'm attempting to do is streamline the XML to make it easier to navigate and also do away with replicated data.

Thanks!
 
Sounds like a one to many relationship (database design theory). One should be able to create said element on it's own and then create one of XML's many link types and point to said eliment... I can't help further than that but I understand that this is how it is done.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top