in reply to How to get paired values from the nested XML structure?

I usually use XML::XSH2 for XML processing. In this case, I'd just need the following lines:
open 935133.xml ; for /excerpt/unit/products/article/quantity echo (../../../Name) (../a +rt_code) (.) ;

Replies are listed 'Best First'.
Re^2: How to get paired values from the nested XML structure?
by vagabonding electron (Curate) on Nov 01, 2011 at 15:25 UTC
    Unfortunately XML::XSH2 seems not to be available for ActivePerl v.5.12.
        I did.
        (...) Result: PASS PAJAS/XML-XSH2-2.1.3.tar.gz Tests succeeded but one dependency not OK (XML::LibXSLT) PAJAS/XML-XSH2-2.1.3.tar.gz [dependencies] -- NA Running make install make test had returned bad status, won't install without force
        I must admit that I am a novice in perl. Mostly I am able to modify the scripts but not to use another approach. I have some (microscopic) experience with XML::LibXML. Could the above task be done with this module?
        Thanks.
        VE
Re^2: How to get paired values from the nested XML structure?
by vagabonding electron (Curate) on Nov 01, 2011 at 19:45 UTC
    Sorry choroba I forgot to say thank you, this is not my style :-)