<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to: Use Annotations to Transform LINQ to XML Trees in an XSLT Style</title><link>http://blogs.msdn.com/ericwhite/archive/2007/07/30/how-to-use-annotations-to-transform-linq-to-xml-trees-in-an-xslt-style.aspx</link><description>(Update: June 23, 2008: I've updated and improved on this technique in this blog post ) Introduction Annotations can be used to facilitate transforms of an XML tree. Some XML documents are "document centric with mixed content." With such documents, you</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How to: Use Annotations to Transform LINQ to XML Trees in an XSLT Style</title><link>http://blogs.msdn.com/ericwhite/archive/2007/07/30/how-to-use-annotations-to-transform-linq-to-xml-trees-in-an-xslt-style.aspx#6714826</link><pubDate>Sun, 09 Dec 2007 20:47:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6714826</guid><dc:creator>Pradnya</dc:creator><description>&lt;p&gt;So is there is no direct XSLT mapping to XLINQ? As in, we will have to use some custom function like the one illustrated above in order to implement XSLT kind of functionality using XLINQ.&lt;/p&gt;
</description></item><item><title>re: How to: Use Annotations to Transform LINQ to XML Trees in an XSLT Style</title><link>http://blogs.msdn.com/ericwhite/archive/2007/07/30/how-to-use-annotations-to-transform-linq-to-xml-trees-in-an-xslt-style.aspx#6726579</link><pubDate>Mon, 10 Dec 2007 22:15:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6726579</guid><dc:creator>EricWhite</dc:creator><description>&lt;P&gt;There is an easy way to use XSLT to transform a LINQ to XML tree. See the following topic in the docs for how to do this:&lt;/P&gt;
&lt;P&gt;&lt;A class="" href="http://msdn2.microsoft.com/en-us/library/bb675186(VS.90).aspx"&gt;http://msdn2.microsoft.com/en-us/library/bb675186(VS.90).aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However, I believe that the annotation approach will outperform XSLT significantly. I haven't developed any metrics, though. I plan to do so when I get time.&lt;/P&gt;</description></item><item><title>re: How to: Use Annotations to Transform LINQ to XML Trees in an XSLT Style</title><link>http://blogs.msdn.com/ericwhite/archive/2007/07/30/how-to-use-annotations-to-transform-linq-to-xml-trees-in-an-xslt-style.aspx#8977387</link><pubDate>Mon, 06 Oct 2008 04:45:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8977387</guid><dc:creator>JF Payette</dc:creator><description>&lt;p&gt;How can i retrieve only the nodes that i want? &lt;/p&gt;
</description></item><item><title>re: How to: Use Annotations to Transform LINQ to XML Trees in an XSLT Style</title><link>http://blogs.msdn.com/ericwhite/archive/2007/07/30/how-to-use-annotations-to-transform-linq-to-xml-trees-in-an-xslt-style.aspx#8977840</link><pubDate>Mon, 06 Oct 2008 16:35:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8977840</guid><dc:creator>EricWhite</dc:creator><description>&lt;p&gt;@JF,&lt;/p&gt;
&lt;p&gt;See this post for an updated version of this technique: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/ericwhite/archive/2008/06/23/using-annotations-to-transform-linq-to-xml-trees-in-an-xslt-style-improved-approach.aspx"&gt;http://blogs.msdn.com/ericwhite/archive/2008/06/23/using-annotations-to-transform-linq-to-xml-trees-in-an-xslt-style-improved-approach.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I'm not exactly sure what you mean - how to retrieve just the nodes you want. &amp;nbsp;The LINQ query that selects nodes can be quite detailed to select a very specific set of nodes to annotate. &amp;nbsp;I'd need a bit more information before I could respond to your question.&lt;/p&gt;
&lt;p&gt;-Eric&lt;/p&gt;
</description></item></channel></rss>