File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes XMLForest and special characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XMLForest and special characters" Watch "XMLForest and special characters" New topic

XMLForest and special characters

Padma Prasad
Ranch Hand

Joined: Sep 16, 2002
Posts: 76
Hi All,

I have problem with special characters. I am generating an xml within Oracle using XMLForest. Data has special characters like � , � ,� etc...Once this file is generated, I store it as a CLOB. I, then, from the front end of my application take the file and apply the stylesheet(I need to do this to remove some nodes in the xml). But I am not able to open the file because of the special characters in the source file. How can I specify that these characters need to be escaped when I generate xml in Oracle?

Also, I have to apply stylesheet outside Oracle environment because XMLTransform function isn't working for me. Not sure if it was because of special characters again. I get this doubt because in my frontend, I am using dom4j to apply stylesheet to the source xml. I get an exception when I try to apply xsl to the raw xml. When I replace/remove special characters, I am able to apply xsl.

Can someone help me please.
I agree. Here's the link:
subject: XMLForest and special characters
jQuery in Action, 3rd edition