0

I am very new to xslt and the like, and was looking for a xsl file to transform a junit-test xml output to something readable, with tables etc. However, when trying to apply the xsl file I get the error

Namespace 'xalan://org.apache.tools.ant.util.StringUtils' does not contain functions (or similar, as the original message is in German) on Explorer, and

Error during XSLT transformation: An unknown XPath extension function was called.

on Firefox. The offendling line in the xsl file might be

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
        xmlns:lxslt="http://xml.apache.org/xslt"
        xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils">

Any help is appreciated. What versions of HTML, XHTML, XSL, XSLT, XPATH, whatever I am using, I have no idea. If you need such additional information, please provide a simple way to find out the required information.

Thanks,
Alex

2
Contributors
3
Replies
4
Views
4 Years
Discussion Span
Last Post by Mike Askew
0

Hi Alex,

For future reference the version of XSLT being used is declared in line 1 above version="1.0".

Could we see your full XSLT file, can't say if that namespace is redundant or not without it.

Mike

0

Try deleting that extension call. I have a feeling it is associated with an apache XSLT compiler which it would seem you are not using.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.