File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
I need to parse the data of my webservice response.
Axis 2 problems
Databinding - ADB and none
XMLBeans API - Validation w/ XML Schema
generating xml from xsd (urgent)