<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Use PowerShell to Parse an XML File and Sort the Data</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/26/use-powershell-to-parse-an-xml-file-and-sort-the-data.aspx</link><description>In this blog, the Scripting Wife learns how to use Windows PowerShell to parse her books XML files and to find authors and sort titles.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Use PowerShell to Parse an XML File and Sort the Data</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/26/use-powershell-to-parse-an-xml-file-and-sort-the-data.aspx#3505399</link><pubDate>Fri, 22 Jun 2012 13:52:52 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3505399</guid><dc:creator>Butler</dc:creator><description>&lt;p&gt;Hi Scripting Guy&lt;/p&gt;
&lt;p&gt;You saved my bacon today!! Thanks for the tutorial.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3505399" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Parse an XML File and Sort the Data</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/26/use-powershell-to-parse-an-xml-file-and-sort-the-data.aspx#3488602</link><pubDate>Mon, 26 Mar 2012 16:06:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3488602</guid><dc:creator>jrv</dc:creator><description>&lt;p&gt;The following is a great place for XPath novices to start learning. &amp;nbsp;The turorial has online test faculity so you can try as you go. &amp;nbsp;And oh! It&amp;#39;s Free!&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.w3schools.com/xpath/"&gt;www.w3schools.com/xpath&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;YouTube is now loaded with many XPath and XSLT videos.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3488602" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Parse an XML File and Sort the Data</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/26/use-powershell-to-parse-an-xml-file-and-sort-the-data.aspx#3488545</link><pubDate>Mon, 26 Mar 2012 10:51:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3488545</guid><dc:creator>K_Schulte</dc:creator><description>&lt;p&gt;One thing, I forgot to ask yesterday: &lt;/p&gt;
&lt;p&gt;&amp;quot;Could you provide a link to the books.xml file or at least publish a listing of the content, please!?&amp;quot;&lt;/p&gt;
&lt;p&gt;Klaus&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3488545" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell to Parse an XML File and Sort the Data</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2012/03/26/use-powershell-to-parse-an-xml-file-and-sort-the-data.aspx#3488543</link><pubDate>Mon, 26 Mar 2012 10:36:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3488543</guid><dc:creator>K_Schulte</dc:creator><description>&lt;p&gt;Hi Teresa, Hi Ed,&lt;/p&gt;
&lt;p&gt;I just visited the PoshCode site and successfully logged into my old account.&lt;/p&gt;
&lt;p&gt;In fact I looked a bit over my old scripts and some other scripts just to bring back old memories :-) Amazing that this has been only 11 months ago ...&lt;/p&gt;
&lt;p&gt;Back to this blog entry: filtering, sorting, grouping and searching XML content is something that we can do with Powershell-on-board-tools and that&amp;#39;s really a help if we can&amp;#39;t use other specialized tools. I don&amp;#39;t know much about the upcoming PS V3 CTP2, so I only can hope, that the XML support has been one of the subject that might have been extended or improved in the new version. Up to now only Select-Xml and the specialized Get-WinEvent cmdlet support XPATH parameters which should be the preferred way of selecting XML nodes. Other XML topics like XSLT stylesheet transformations are missing competely in Powershell v1 and v2 but as usual could be accomplished by means of the underlying .Net framework v2.0 ( or 4.0 later on )&lt;/p&gt;
&lt;p&gt;Again: It&amp;#39;s good to have a basic XML toolkit around in Powershell ...&lt;/p&gt;
&lt;p&gt;Klaus&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3488543" width="1" height="1"&gt;</description></item></channel></rss>