title: How can I get the href attribute value out of an <?xml-stylesheet> node?
body: <p>We are getting an XML document from a vendor that we need to perform an XSL transform on using their stylesheet so that we can convert the resulting HTML to a PDF.  The actual stylesheet is referenced in an <code>href</code> attribute of the <code>?xml-stylesheet</code> definition in the XML document.  Is there any way that I can get that URL out using C#?  I don't trust the vendor not to change the URL and obviously don't want to hardcode it.</p>
  
  <p>The start of the XML file with the full <code>?xml-stylesheet</code> element looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;?xml-stylesheet type="text/xsl" href="http://www.fakeurl.com/StyleSheet.xsl"?&gt;
  </code></pre>