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 appending processing instruction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "appending processing instruction" Watch "appending processing instruction" New topic
Author

appending processing instruction

shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
HI,
I am using xerces API and I have an xml document represented by Element interface.I am attaching an xsl to it using the methods
Element.getOwnerDocument().createProcessingInstruction().
Now, I want to attach another xsl to the same xml document(say different xsls for different links but same xml).My problem is the processing instructions(attching xsl) are getting apppended to the xml document for every link i click. and so there is some mix-up.How do i make sure that for every click of a link, onle one xsl is attached to the xml.I need the solution for this asap.So could anyone help me??
Thanx in advance,
shanks

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: appending processing instruction