aspose file tools*
The moose likes XML and Related Technologies and the fly likes Add Processing Instruction to XML using XmlBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Add Processing Instruction to XML using XmlBeans" Watch "Add Processing Instruction to XML using XmlBeans" New topic
Author

Add Processing Instruction to XML using XmlBeans

Adil Fulara
Greenhorn

Joined: Oct 21, 2007
Posts: 8
Hi,

I could not find a way to add the following

<?xml-stylesheet type="text/xsl" href="results.xslt"?>

in the xml generated by using xmlbeans.

XmlOptions does not seem to provide a way to do this.

Is there a way to achieve this using XmlBeans?

Thanks for the help.

~Adil.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Add Processing Instruction to XML using XmlBeans