XML::LibXML::Reader
by Tom Browder other posts by this author
Aug 11 2007 4:02AM messages near this date
view in the new Beta List Site
Re: Get Out the Word on XML::LibXML
|
Re: XML::LibXML::Reader
& XSLT I love the reader but am having problems getting attribute info. I also have other q
uestions:
1. When I use readInnerXML and then use it as a string input to a new reader I get complain
ts about extra stuff at the end. So I have been using readOuterXML and ignoring the parent
element while parsing. Is there any better way to isolate looking at an element's children?
2. Can you show me exactly how to get the attribute/value pairs from this xml fragment:
<parent a='A' b='B'>
<child a='A' b='B'>
<gchild a='A' b='B'> a</gchild>
</child>
</parent>
Thanks so much.
-Tom
Thread:
Tom Browder
Petr Pajas
|