Feb 1, 2012, 4:29 AM
Post #2 of 2
You should parse the XML code into a hash (using XML::Parser or XML::Simple or, maybe, XML::Parser::Lite). You can then easily discard the data for User 1, and recreate the XML format.
Re: [tbone587] Deleting XML Segment
[In reply to]
For recreating XML, XML::Simple already provides a function. I don't have experience with XML::Parser, so I can't give a recommendation.