Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

XDocument to get the attribute of a preprocessing instruction

$
0
0
<?xml version="1.0" encoding="utf-8"?><?mso-infoPathSolution name="urn:schemas-microsoft-com:office:infopath:Audittool:-myXSD-2013-06-22T17-00-48" solutionVersion="1.0.0.457" productVersion="14.0.0.0" PIVersion="1.0.0.0"  href="" ?>

i want to access a preprocessing instruction "mso-infoPathSolution"  and which has an attribute href and assign a url to it say http://www.msn.com

I need to use the XDocument class. How do i achieve that?


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>