In the stylesheet i defined the namespace as you did in your sample! I
started the formating in XML Spy (java -jar
"C:\Programme\Saxon\Saxon7.9\saxon7.jar" -o %2 %1 %3)
But then an error occurs which tells me that the function
renderedTextLength
is unknown...
What is the problem here?
When you invoke a Java application using -jar, the only things on your
classpath are things in that JAR archive, plus any dependencies registered
in the JAR archive. So if you want to invoke your own extension functions,
you need to use the other approach:
java net.sf.saxon.Transform -o %2 %1 %3
You might also find the -TJ option useful for diagnosing such problems.
Michael Kay