Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

appending processing instruction

 
shankar vembu
Ranch Hand
Posts: 309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic