Problems with XPath Functions in XSL Stylesheet
843834Mar 13 2006 — edited Mar 15 2006Hi all,
I'm currently experiencing with XSLTC Translets, and I have a few problems with XPath functions.
First, I use some String functions, like substring, concat, they work fine. But I can't make upper-case work. When I try to create the Transformer, I get a NoSuchMethodException java.lang.String.upperCase().
Second, I use an XSL variable to store a sequence of nodes. Then I create a second variable in which I want only the distinct values of the first sequence. For this, I use the XPath function distinct-values($firstList). I get another NoSuchMethodException org.apache.xml.utils.NodeVector.distinctValues(...). Indeed, I have looked at the Xalan javadoc, and it doesn't exist. But I didn't see another method offering similar result, and I REALLY need to do this, or I'm in for lots of trouble.
Can someone help?
Thanks a lot!
Thomas.