Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

XMLForest and special characters

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic