in reply to Re^2: Add New Attribute to XML
in thread Add New Attribute to XML
Looking at the Source of XML::XPath::Node, there is the insertAfter method for nodes, which you can use to append other nodes after an existing node. But it doesn't seem like XML::XPath is geared towards XML manipulation. You're likely better off using one of the other XML modules. Potentially, XML::LibXML is geared towards both, XPath and DOM manipulation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Add New Attribute to XML
by Sun751 (Beadle) on Jun 22, 2009 at 08:29 UTC | |
by Corion (Patriarch) on Jun 22, 2009 at 08:33 UTC | |
|
Re^4: Add New Attribute to XML
by Sun751 (Beadle) on Jun 22, 2009 at 12:42 UTC |