• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

add marked up text to a document

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My problem is that I want to add some text which contains markup to a node in the document. Now this marked up text should be converted and merged with the tree structure of the document. I know such a thing is possible in xslt via disable output escaping but i'm not using stylesheets. I need to do this in Xerces java.
eg - if i add "<first>text1</first><last>text2</last>" as simple text then i need t create 2 nodes as first and last.
 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Nitin,
Sorry I do not have an answer to your question.. I have some curiosity. How it is done using xerces java without xsl?
some DOM or SAX parser implemented by it or.. how?
Thanks.
Tina
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic