[phpXML] Re: [phpXML] Re: [phpXML] Help with XPath expression
Brought to you by:
bs_php,
nigelswinson
From: <an...@is...> - 2001-10-08 16:34:16
|
Eh, no, because that just gives me back "/publication/foo1[1]", "/publication/foo2[1]" and so on. I just want the array of "foo1", "foo2" returned. On Wed, 18 Jul 2001, Ni...@Sw... wrote: > /Publication/* > ----- Original Message ----- > From: <an...@is...> > To: <us...@li...> > Sent: Wednesday, July 18, 2001 5:32 PM > Subject: [phpXML] Help with XPath expression > > > > What kind of XPath expression can I use to select the names of all the > > child nodes? That is, given the following fragment: > > > > <publication> > > <foo1> > > .. > > </foo1> > > <foo2> > > .. > > </foo2> > > .. > > </publication> > > > > I want to get the names of all nodes under <publication>. > > > > Thanks, > > > > -Andrei > > * How would this sentence be different if Pi was equal to three? * > > > > -- > > This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ > > > > > -- > This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ -Andrei The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |