471,321 Members | 2,097 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,321 software developers and data experts.

XPath expression to select nodes with a 0


Is there an XPath expression I can use to select all nodes (regardless of
the name) that contain a 0 for the node contnet or value?

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Dec 15 '05 #1
1 1149
Never mind, I found the answer..

oNodes = oXML.SelectNodes("//*[.='0']");

On Thu, 15 Dec 2005 14:28:28 -0700, JSheble <js***********@logicor.com>
wrote:

Is there an XPath expression I can use to select all nodes (regardless
of the name) that contain a 0 for the node contnet or value?


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Dec 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by ahogue at theory dot lcs dot mit dot edu | last post: by
2 posts views Thread by kj | last post: by
3 posts views Thread by gimme_this_gimme_that | last post: by
2 posts views Thread by ree32 | last post: by
5 posts views Thread by David Thielen | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.