Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


DOM Vs XPath + ancestor : whats the point?

From: "rvj" <md@----------.--->
To: NULL
Date: 8/2/2004 1:11:00 PM
Having spent a day or so trying to understand XPath + ancestor nodesets, to
create a subset of an existing document, I am not overwhelmed by its
usefullness.

I know I can use the XML DOM for this purpose but I thought XPath was
intended to make it simpler!

In the following newgroup newsgroup message it appears the XPATH is unable
to perform what I would have thought are relatively basic filtering
operations on an XML input file.

http://sqljunkies.com/Newsgroups/microsoft.public.dotnet.xml/2004/3/31/13945
1.aspx

While I understand that XSLT exists for transforming documents from one
format to another, surely XPATH should be able to perform what is
effectively a filtering operation ie only retaining the nodes you do want .

 In other words the format of the file does not change - as its just a
subset

***********************************************************

Is this a fault of the XPath spec or the MS node set created?






transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent