in reply to Re: searching the XML file for certain nodes
in thread searching the XML file for certain nodes

I've used XPATH before but just for extracting info from xml file. how shall i state this in perl :
doc("file.xml")/e/p[V="YES"]

Replies are listed 'Best First'.
Re^3: searching the XML file for certain nodes
by dHarry (Abbot) on Mar 10, 2009 at 14:32 UTC
    I've used XPATH before but just for extracting info from xml file

    Well that's what you want don't you? See post of ramrod below for the xpath syntax. If you want to transform your XML document into another one then this cries out for XSLT (in which case you also use xpath expressions:).