in reply to Re^2: Duplicate entries with nested xml
in thread Duplicate entries with nested xml

"...written more succinctly..."

Sure tobyink, nothing but the truth. I didn't know this.

To be honest: I'm still using XML::Simple :-[ because i got a lot of config stuff written with it and cheated my example from the docs of XML::LibXML.

N.B.: I also tried XML::LibXML::Simple with the stuff the OP provided, but it failed with the entity...

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

  • Comment on Re^3: Duplicate entries with nested xml

Replies are listed 'Best First'.
Re^4: Duplicate entries with nested xml
by Jenda (Abbot) on Sep 05, 2014 at 15:43 UTC

    XML::Rules will provide an easy way forward. Using the DTD or a few examples it can infer rules that'll instruct the parser to produce data structure equivalent to a well set XML::Simple and at the same time allow you to start tweaking and trimming the structure to better fit your needs.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.