VB,
You can load the document into an instance of XmlDocument, and then
perform the folloing XPath query to get the processing instructions:
processing-instruction
This will return one (if you use SelectSingleNode) or all of the
processing instructions for the document (with the exception of the XML
processing instruction declaration).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
This will return the procesisng
"Vegard Beider" <jo****@hotmail.com> wrote in message
news:ec**************************@posting.google.c om...
I was just wondering how can I retrieve and modify the xsl processing
instruction (<?xml-stylesheet type="text/xsl" href="..."?>).
VB