Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problems with XPath Functions in XSL Stylesheet

843834Mar 13 2006 — edited Mar 15 2006
Hi 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2006
Added on Mar 13 2006
6 comments
296 views