
Hi, Alexander Kozlovsky wrote:
I'm trying to use EXSLT extension functions on Windows with standard lxml binary distribution (lxml-1.3.6.win32-py2.4.exe)
I'm trying to do the next, but it is not work as expected:
What result do you get?
<?xml version="1.0"?> <xsl:stylesheet version = '1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:str="http://exslt.org/strings"
Try removing the following line (except for the '>', obviously):
extension-element-prefixes="str">
<xsl:template match="body"> <body> <h1 class="{str:replace('abc', 'b', 'x')}">test</h1> </body> </xsl:template>
</xsl:stylesheet>
Is it possible to use EXSLT extensions on Windows without rebuilding of standard binaries?
Never tried, but I wouldn't know a reason why this should fail. Stefan