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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xml tag linking

Status
Not open for further replies.

takshaka

Programmer
Feb 21, 2007
2
US
I have a program generates project xml files.
What i am trying to do is edit the project file to link to certain xml tags.

In the following example there are 2 buttons (button 10 and button 20) with a few attrributes.

What i want to do is to point the attributes of button 20 to look at the attributes of button 10. Essentially parenting button 20 to button 10.

The program will not natively let me do this so i am looking at a way to do this in the xml script.

If i could do this it would be incredibly time saving and more efficient, so i would be very grateful to anyone that could point me in the right direction.

Many thanks

<Button ID="10">
<Name>Button_10</Name>
<ParentObjectID>10</ParentObjectID>
<NavigationCommandsIDRef>10</NavigationCommandsIDRef>
</Button>

<Button ID="20">
<Name>Button_20</Name>
<ParentObjectID>20</ParentObjectID>
<NavigationCommandsIDRef>20</NavigationCommandsIDRef>
</Button>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top