Newbie seeking help with adding xsl to xml

  • Thread starter Thread starter rsine
  • Start date Start date
R

rsine

I am working on a project where I need to insert the following into an
xml document:

<?xml-stylesheet type="text/xsl" href="C:\MyStyle.xsl" ?>

How do I go about doing this?

-Thanks
 
Johnny you are being a bad boy today, why not just explain how its done
using an XmlTextWriter?

//string typeAttribute = "type='text/xsl'
href='lazyandlameismymiddlename.xsl'";
//writer.WriteProcessingInstruction("xml-stylesheet", typeAttribute);

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
 
Back
Top