|
I'm using XML::XPath perl code for some graduate work and I'm having difficulty with a set of XPath instructions. I'm rather new to using this module, I like it so far, but I've run into a snag that I'm having trouble with.
an example of this would be
my $parser = XML::XPath->new (xml => $document);
$document = $parser->findnodes_as_string("/feed/entry/page/content[page/pagemetadata/page_id=\"ryan
+4\"]" );
How can I build a path string such as this to return the contents of the page tag that contains a page_id tag with the sample value "ryan4"? |