Hi All,

I'm using Perl's XML::Simple to parse deeply nested XML and would like to
extract a small list of elements about 4 levels down:

A
  B
    C
      D1
      D2
      D3

Ideally I want to do this:

my @list = XMLin($xml, { SomeAttribute => ButWhat? });

and then:

@list = ('D1', 'D2', 'D3')

Does anyone know how to make XML::Simple do this?

NIge

p.s. I'm using it on top of XML::SAX::ExpatXS
_______________________________________________
BristolBathPM mailing list
[email protected]
http://mailman.bristolbath.org/mailman/listinfo/bristolbathpm

Reply via email to