• No replies
1 Post

Pinned topic How to handle + operator for String variables in XSL transform

‏2011-01-29T17:09:32Z |
Hi All,

I have one weird problem in my XSL transform. The Java code is writing data into XSL using XMLWriter.

The Java code line looks like this ...

xmlWriter.writeElement( "notation", "(A)=(B)+(C)");

I dont want to do any String concatenation here and I wanted the out put in XSL as (A)=(B)+(C)

But I see the + symbol is missing in my XSL out put and value get displayed as (A)=(B)(C)

I use UTF-8 encode in my XSL .

Is there any encoding mechanism ? Is it possible to handle at Java or XML level ?

Please share your thoughts out of your experience .

  • Thanks