W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2000

to retrieve the processing instruction

From: Sridhar Gopal Manavarthe <sridhar.gopal@wipro.com>
Date: Wed, 20 Dec 2000 14:29:21 +0530
Message-ID: <3A4074E8.6EA7DE5E@wipro.com>
To: www-dom@w3.org
hi,
can anybody let me know,how do i retrieve the value of the xslt style
sheet type and href ,which is along with the xml file using dom.
there is a createProsessingInstruction() returning a
processionInstuction referance,but there is no
getProcessingInstruction() in the Document interface
eg:
<?xml version=\"1.0\"?>");
   <?xml-stylesheet type=\"text/xsl\" href=\"xslt1.xsl\"?>")
  <a>
   <hello>hgff</hello>
   <password>jhbjh</password>
   </a>

here i need to get the type and href for the xslt.

Thanks in advance

Sridhar
Received on Wednesday, 20 December 2000 03:55:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT