a) original xml file
Code: Select all
<?xml version="1.0" standalone="yes"?>
<root>
<elem id="elem1">
<child name="name1" value="dummyValue" />
</elem>
<elem id="elem2">
<child name="name2" value="origValue" />
</elem>
</root>
Code: Select all
<?xml version="1.0" standalone="yes"?>
<root>
<elem id="elem1">
<child name="name1" value="dummyValue" />
</elem>
<elem id="elem2">
<child name="name2" value="substValue" />
</elem>
</root>
Code: Select all
<?xml version="1.0" standalone="yes"?>
<root>
<elem id="elem1">
<child name="name1" value="substValue" />
</elem>
<elem id="elem2">
<child name="name2" value="origValue" />
</elem>
</root>
NB:
a) the value "elem2" of the id attribute is used as an identifier for the second "elem"-node
b) the value "name2" of the name attribute is used as an identifier for the second "child"-node
c) my xml file "layout" is therefore
Code: Select all
root
elem
child
e) I may have missed a forum answer; this may even be a faq, but I did search for "xml file" and looked into the first 80 hits (of approx 600).
f) this is AI 7.2.1; 8.9 fails, too
Questions:
1) Is the above achievable?
1.1) if "yes", are there any examples?
1.2) if "yes", may I upload my sample project somewhere?