wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: appending processing instruction
 
Similar Threads
JSP for transforming XML using XSL
Using hashtable
Associating 1 XSL file with many XML files
Cocoon and document() function
Using Hashtable to store an xml document for further reference