<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: XMLDSIG in the .NET framework</title>
	<atom:link href="http://thomasjo.com/blog/archive/xmldsig-in-the-net-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://thomasjo.com/blog/archive/xmldsig-in-the-net-framework/</link>
	<description>A monologue on the creation of highly opinionated software</description>
	<lastBuildDate>Thu, 24 Jun 2010 06:04:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: thomasjo</title>
		<link>http://thomasjo.com/blog/archive/xmldsig-in-the-net-framework/#comment-344</link>
		<dc:creator>thomasjo</dc:creator>
		<pubDate>Thu, 24 Sep 2009 13:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://thomasjo.com/blog/archive/xmldsig-in-the-net-framework/#comment-344</guid>
		<description>Good suggestion Joel, and something I hadn&#039;t thought of.</description>
		<content:encoded><![CDATA[<p>Good suggestion Joel, and something I hadn&#8217;t thought of.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel</title>
		<link>http://thomasjo.com/blog/archive/xmldsig-in-the-net-framework/#comment-336</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Wed, 23 Sep 2009 17:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://thomasjo.com/blog/archive/xmldsig-in-the-net-framework/#comment-336</guid>
		<description>I think that you can transform an XDocument into an XmlDocument more efficiently by creating an XmlReader over the XDocument and loading that, rather than converting the XDocument to a string and parsing it. In my case, I have a ToXmlDocument extension method I added to XDocument.

var doc = new XmlDocument();
doc.Load(xdoc.CreateReader());

The reverse, a ToXDocument extension method I added to XmlDocument, looks like this:

return XDocument.Load(new XmlNodeReader(doc));</description>
		<content:encoded><![CDATA[<p>I think that you can transform an XDocument into an XmlDocument more efficiently by creating an XmlReader over the XDocument and loading that, rather than converting the XDocument to a string and parsing it. In my case, I have a ToXmlDocument extension method I added to XDocument.</p>
<p>var doc = new XmlDocument();<br />
doc.Load(xdoc.CreateReader());</p>
<p>The reverse, a ToXDocument extension method I added to XmlDocument, looks like this:</p>
<p>return XDocument.Load(new XmlNodeReader(doc));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jostein</title>
		<link>http://thomasjo.com/blog/archive/xmldsig-in-the-net-framework/#comment-61</link>
		<dc:creator>Jostein</dc:creator>
		<pubDate>Wed, 05 Aug 2009 07:56:05 +0000</pubDate>
		<guid isPermaLink="false">http://thomasjo.com/blog/archive/xmldsig-in-the-net-framework/#comment-61</guid>
		<description>Thanks for doing the hard work, in case I ever need it! :)</description>
		<content:encoded><![CDATA[<p>Thanks for doing the hard work, in case I ever need it! :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
