[Yanel-dev] XPath functions in XSLT

Evaldas Taroza etaroza at optaros.com
Fri Jan 18 11:18:46 CET 2008


Michael Wechner wrote:
> Evaldas Taroza wrote:
> 
>> Hi everyone,
>> I recently found out that simple XPath functions, like 
>> fn:replace(string, string, string), or escape(uri, boolean) don't work 
>> in XSLTs I create in Yanel.
>>
>> I assume that Yanel does not support the newest XSLT, XPath versions. 
>> What to do?
> 
> 
> I guess this depends on the xalan lib. Give it a try with a different 
> resp. newer xalan lib or some other XSLT lib and if it's working with 
> this, then submit a patch for the dependencies ;-)

Indeed Xalan implements XSLT 1.0 (relies on XPath 1.0), but XSLT 2.0 
(relies on XPath 2.0) is already a recomendation and the only library 
that implements it I could find was SAXON (Mozilla licence).

Do you think replacing Xalan with Saxon won't brake Yanel?

Evaldas

-- 
+41 79 616 53 76
Optaros - www.optaros.com


More information about the Yanel-development mailing list