![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Excluding a Node from XPath Query [Thread Next] Re: Excluding a Node from XPath QueryTo: NULL Date: 7/3/2006 12:29:00 PM /test/*[not(self::city)] Regards, George --------------------------------------------------------------------- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger www.---.com Jerry West wrote: > <test> > </name> > </address> > </city> > </test> > > I'd like to select all child Nodes of the Node test but exclude the city > Node. How does one exclude a Node from the query? Currently I use the > following to select all child Nodes of the test Node: > > Set ElemList = xml.selectNodes("/test/*") > > This obviously doesn't exclude any Nodes from the test. Is it possible to do > so? > > JW | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
