File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "appending processing instruction" Watch "appending processing instruction" New topic

appending processing instruction

shankar vembu
Ranch Hand

Joined: May 10, 2001
Posts: 309
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
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,

I agree. Here's the link:
subject: appending processing instruction
It's not a secret anymore!