XPath question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

<ns:root i="0">
	<tag>
		<ns:node i="1"/>
	</tag>
	<ns:anothernode i="2">
		<ns:notme i="3">
			<ns:meneither i="4"/>
		</ns:notme>
		<anothertag/>
	</ns:anothernode>
</ns:root>

I need to retrieve a list of all the INNER <ns:*> nodes (not the root i=0 node), that do not have an ancestor of any <ns:*> node but the root <ns:root i="0"> node.
In other words: get all <ns:*> nodes with i in {1,2}.

-thanks!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux