Friday, November 18, 2005

 

EXSLT::replace

Necessity is no longer the mother of invention, but instead the trigger for some googling... I've just been writing an XSLT transform to generate DOT code where the text labels are C-style strings (which means that backslashes '\' have to be escaped as '\\' to work correctly). An easy way to do this is with a replace function, but the base XSLT specification does not provide this. What would have taken me a week has already been done by the EXSLT project (c.f. replace). Thank you greatly.

There is a lot of downloadable XSLT code at the EXSLT site, but I cannot find any explicit licensing statements. I'd like to think that it is freely available, and not subject to commercial restriction...






<< Home

This page is powered by Blogger. Isn't yours?