Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


How do I run an XPath expression in ASP

From: "shripaldalal" <shripaldalal@-----.--->
To: NULL
Date: 9/3/2005 1:45:00 AM
Hi,

Can someone tell me how can I run an XPath calculation expression in
classic ASP. I know we cannot use selectnodes or selectsinglenode
methods. My XML is:

<invoice>

<products>

<row><name></name><qty></qty><rate></rate><amount></amount></row>

</products>

</invoice>

How can I run the XPath expression like
selectsinglenode(//invoice/products/row/qty *
//invoice/products/row/rate) and get it to return a number instead of a
single node or nodes ? I know this cannot be done in MS XML DOM but yes
it can be done it .NET . I cannot use dotnet. Is there anyway around it
?

Also I request if possible please can you send example in VBScript
because I do not have much knowledge of JavaScript.

Thanks.

Regards,
Shripal Dalal.



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