<?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: A DSL for XML in PowerShell: New-XDocument</title>
	<atom:link href="http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/feed/" rel="self" type="application/rss+xml" />
	<link>http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/</link>
	<description>You can do more than breathe for free...</description>
	<lastBuildDate>Fri, 03 Feb 2012 03:27:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Dunlop</title>
		<link>http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/comment-page-1/#comment-214519</link>
		<dc:creator>Mark Dunlop</dc:creator>
		<pubDate>Fri, 26 Mar 2010 19:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1406#comment-214519</guid>
		<description>The challenge is that to do a full implementation as advanced functions, with all the optional parameters, looks like over 1000 lines of code :)

Your solution is looking more and more appealing by the second. Especially since I can just pick it up and use it.</description>
		<content:encoded><![CDATA[<p>The challenge is that to do a full implementation as advanced functions, with all the optional parameters, looks like over 1000 lines of code  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':)' class='wp-smiley' /> </p>
<p>Your solution is looking more and more appealing by the second. Especially since I can just pick it up and use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/comment-page-1/#comment-214518</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Fri, 26 Mar 2010 19:09:46 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1406#comment-214518</guid>
		<description>I haven&#039;t really looked at Saxonica in at least a couple of years, so it&#039;s safe to say I wasn&#039;t planning on doing anything with it ;)</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t really looked at Saxonica in at least a couple of years, so it&#8217;s safe to say I wasn&#8217;t planning on doing anything with it  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Dunlop</title>
		<link>http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/comment-page-1/#comment-214517</link>
		<dc:creator>Mark Dunlop</dc:creator>
		<pubDate>Fri, 26 Mar 2010 18:25:19 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1406#comment-214517</guid>
		<description>Just looked at 4.3 - looks great.

I&#039;ve been building a load of code using Mike Kay&#039;s Saxonica libraries, and have recently been tempted to do a proper job of building some advanced functions. Reasoning behind that was the high level of standards compliance, especially wrt XQuery

Since you&#039;re working in the same namespace, so to speak, I wonder if you&#039;d had any thoughts on doing this.</description>
		<content:encoded><![CDATA[<p>Just looked at 4.3 &#8211; looks great.</p>
<p>I&#8217;ve been building a load of code using Mike Kay&#8217;s Saxonica libraries, and have recently been tempted to do a proper job of building some advanced functions. Reasoning behind that was the high level of standards compliance, especially wrt XQuery</p>
<p>Since you&#8217;re working in the same namespace, so to speak, I wonder if you&#8217;d had any thoughts on doing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/comment-page-1/#comment-214448</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Thu, 04 Mar 2010 22:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1406#comment-214448</guid>
		<description>Yay, another good idea! &quot;Added in version 4.3&quot;:http://poshcode.org/1682</description>
		<content:encoded><![CDATA[<p>Yay, another good idea! <a href="http://poshcode.org/1682">Added in version 4.3</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Archer</title>
		<link>http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/comment-page-1/#comment-214446</link>
		<dc:creator>Jason Archer</dc:creator>
		<pubDate>Thu, 04 Mar 2010 19:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1406#comment-214446</guid>
		<description>Very cool idea!

It would be nice if Format-XML could also take the path to an XML file.</description>
		<content:encoded><![CDATA[<p>Very cool idea!</p>
<p>It would be nice if Format-<span class="caps">XML</span> could also take the path to an <span class="caps">XML</span> file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/comment-page-1/#comment-214445</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Thu, 04 Mar 2010 17:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1406#comment-214445</guid>
		<description>Yeah, that&#039;s a great idea. Consider it implemented! 

As of &quot;version 4.2&quot;:http://poshcode.org/1681 the only commands that are *NOT* converted are ones which have a dash in them, *and* are _either_ a Cmdlet, a Function, or an ExternalScript (ie: a ps1 file in your path or specified by full name). Aliases, Applications, ScriptBlocks, and Functions or Scripts without &#039;verb-noun&#039; syntax in their name will be ignored (and thus, treated as xml tags).  Honestly, it was probably enough to check for &quot;-&quot; but since that&#039;s technically a legal character in xml node names (although I don&#039;t think I&#039;ve ever seen it used), I figured I needed the combination :).

I&#039;ve updated the links above, and changed my example script to use @Get-ChildItem@ instead of the now disallowed @ls@ ;)</description>
		<content:encoded><![CDATA[<p>Yeah, that&#8217;s a great idea. Consider it implemented! </p>
<p>As of <a href="http://poshcode.org/1681">version 4.2</a> the only commands that are <strong>NOT</strong> converted are ones which have a dash in them, <strong>and</strong> are <em>either</em> a Cmdlet, a Function, or an ExternalScript (ie: a ps1 file in your path or specified by full name). Aliases, Applications, ScriptBlocks, and Functions or Scripts without &#8216;verb-noun&#8217; syntax in their name will be ignored (and thus, treated as xml tags).  Honestly, it was probably enough to check for &#8220;-&#8221; but since that&#8217;s technically a legal character in xml node names (although I don&#8217;t think I&#8217;ve ever seen it used), I figured I needed the combination  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=':)' class='wp-smiley' /> .</p>
<p>I&#8217;ve updated the links above, and changed my example script to use <code>Get-ChildItem</code> instead of the now disallowed <code>ls</code>  <img src='http://huddledmasses.org/wordpress/wp-includes/' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Einstein</title>
		<link>http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/comment-page-1/#comment-214444</link>
		<dc:creator>Josh Einstein</dc:creator>
		<pubDate>Thu, 04 Mar 2010 14:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1406#comment-214444</guid>
		<description>Wow, that on-the-fly implementation of unrecognized command names is very clever! But the potential conflicts (or more importantly, potential *future* conflicts) seems too dangerous to use in real scripts. I wonder if it might be possible to temporarily alter the command lookup table so that only full cmdlet names could be used in the XML DSL and any &quot;short&quot; names would always be treated as XElements.</description>
		<content:encoded><![CDATA[<p>Wow, that on-the-fly implementation of unrecognized command names is very clever! But the potential conflicts (or more importantly, potential <strong>future</strong> conflicts) seems too dangerous to use in real scripts. I wonder if it might be possible to temporarily alter the command lookup table so that only full cmdlet names could be used in the <span class="caps">XML</span> <span class="caps">DSL</span> and any &#8220;short&#8221; names would always be treated as XElements.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

