Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: ends-with doesn't work

From: "tshad" <tshad@----------.--->
To: NULL
Date: 8/8/2008 9:58:00 AM


"Joe Fawcett" <joefawcett@n...> wrote in message 
news:%23nbXpLS%23IHA.4472@T......
>
>
> "tshad" <tshad@d...> wrote in message 
> news:ulySVeN#IHA.5192@T......
>> I am using Visual Studio 2005 and ends-with doesn't work there.
>>
>> I am trying:
>>
>>    not((starts-with(name(), 'GC') or (starts-with(name(), 'CC')) and 
>> ends-with(name(),'-POUND-') and
>>
>> and I get an error:
>>
>> ends-with() is an unknown XSLT function.
>>
>> But when I look it up, it is there in various places, such as:
>>
>> http://www.w3schools.com/Xpath/xpath_functions.asp#string
>>
>> Does 2005 use a different version of XSLT?
>>
>> Thanks,
>>
>> Tom
>>
> 'ends-with' is XPath 2.0, therefore, for all practical purposes, you need 
> an XSLT 2.0 processor. None of Microsoft's products support version 2.0.

Are they planning to?

Thanks,

Tom

> You can either re-write your XSLT of use Saxon which has a free .NET 
> version. You won't ,however, be able to debug in Visual Studio, you'll 
> need to use something like Altova XMLSpy">XMLSpy.
>
> -- 
>
> Joe Fawcett (MVP - XML)
> http://joe.fawcett.name 




transparent
Print
Mail
Digg
delicious
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