in reply to Re^2: XML::LibXML- Escape Empty Tags
in thread XML::LibXML- Escape Empty Tags
So I guess you didn't try anything?
It seemed from the code you posted that you were somewhat familiar with XML::LibXML.
Anyway, if you want to access text try (in your loop):
It seemed from the code you posted that you were somewhat familiar with XML::LibXML.
Anyway, if you want to access text try (in your loop):
Or if you want to get the text node try (anywhere after you parse the file):$child->textContent;
$tree->findnodes("//imageURL_med/text()");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: XML::LibXML- Escape Empty Tags
by khalistoo (Initiate) on Jul 31, 2009 at 08:36 UTC |
In Section
Seekers of Perl Wisdom