RE: [xsl] Error in MSXML processor but not in XMLSpy...

Subject: RE: [xsl] Error in MSXML processor but not in XMLSpy...
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Wed, 25 Oct 2006 11:54:09 +0100
MSXML (or .NET) doesn't support version XPath 2.0. So you'll have get them to agree to using another processor or re-write your code I'm afraid.

Joe


From: "Ovidiu C" <ovidiucosbv@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Error in MSXML processor but not in XMLSpy...
Date: Wed, 25 Oct 2006 10:50:52 +0100

Hi,

I'm getting this error when processing an XML file with MSXML4:

Expected token ")", found "$" in
<xsl:value-of select="format-number(number(sum(for $s in Shipment
return 0.51)), '###,.00')"/>

If I'm using XMLSpy's genuine XML processor, then this error doesn't
pop up and the final transformation is OK. Unfortunately, is not the
case, the constraint is to use MS XML
I will be grateful for any suggestions.

Thank you,
Ovidiu

Current Thread