But I could still use some help... When I add an attribute to lets say tag B my code fails all of a sudden ..
What code do you use to do that? I used
# Add attribute "xxx" with value "yyy" to # the first (idx 0) "B" child of node $doc. $doc->{B}[0]{xxx} = 'yyy';
In reply to Re^3: XML Attribute vs Element
by ikegami
in thread XML Attribute vs Element
by Sporti69
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |