List Info

Thread: Re: perl-ish way to deal with footnotes in an XML document




Re: perl-ish way to deal with footnotes in an XML document
country flaguser name
Germany
2007-07-20 04:49:05
* Thomas, Mark - BLS CTR <Thomas.Markbls.gov> [2007-07-19 20:40]:
> > I tried this with XML::LibXML:
> > 
> > my $children = $seg->findnodes('child:');
> 
> I'm pretty sure * returns only elements, not text
nodes.

Yes. If you want other types of nodes, use `child::node()`.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/&g
t;
_______________________________________________
Perl-XML mailing list
Perl-XMLlistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )