<?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: The best in command line xml: XMLStarlet</title>
	<atom:link href="http://bashcurescancer.com/the-best-in-command-line-xml-xmlstarlet.html/feed" rel="self" type="application/rss+xml" />
	<link>http://bashcurescancer.com/the-best-in-command-line-xml-xmlstarlet.html</link>
	<description>Learn the UNIX/Linux command line</description>
	<lastBuildDate>Thu, 11 Mar 2010 00:51:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kolya</title>
		<link>http://bashcurescancer.com/the-best-in-command-line-xml-xmlstarlet.html/comment-page-1#comment-36079</link>
		<dc:creator>Kolya</dc:creator>
		<pubDate>Mon, 18 Jan 2010 19:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/?p=151#comment-36079</guid>
		<description>&lt;strong&gt;&lt;a href=&quot;http://znk.filmtape.ru&quot; rel=&quot;nofollow&quot;&gt; &lt;/a&gt;&lt;a href=&quot;http://qhn.filmtape.ru&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://gmd.filmtape.ru&quot; rel=&quot;nofollow&quot;&gt; &lt;/a&gt;&lt;a href=&quot;http://qsh.filmtape.ru&quot; rel=&quot;nofollow&quot;&gt; &lt;/a&gt;...&lt;/strong&gt;

Спс&lt;b&gt;&lt;a href=&quot;http://opk.filmtape.ru&quot; rel=&quot;nofollow&quot;&gt; &lt;/a&gt;&lt;a href=&quot;http://qr3.filmtape.ru&quot; rel=&quot;nofollow&quot;&gt; &lt;/a&gt;&lt;a href=&quot;http://agd.filmtape.ru&quot; rel=&quot;nofollow&quot;&gt; &lt;/a&gt;&lt;a href=&quot;http://fsm.filmtape.ru&quot; rel=&quot;nofollow&quot;&gt; &lt;/a&gt;...</description>
		<content:encoded><![CDATA[<p><strong><a href="http://znk.filmtape.ru" rel="nofollow"> </a><a href="http://qhn.filmtape.ru" rel="nofollow"></a><a href="http://gmd.filmtape.ru" rel="nofollow"> </a><a href="http://qsh.filmtape.ru" rel="nofollow"> </a>&#8230;</strong></p>
<p>Спс<b><a href="http://opk.filmtape.ru" rel="nofollow"> </a><a href="http://qr3.filmtape.ru" rel="nofollow"> </a><a href="http://agd.filmtape.ru" rel="nofollow"> </a><a href="http://fsm.filmtape.ru" rel="nofollow"> </a>&#8230;</b></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fried_european_owl_wings</title>
		<link>http://bashcurescancer.com/the-best-in-command-line-xml-xmlstarlet.html/comment-page-1#comment-18663</link>
		<dc:creator>fried_european_owl_wings</dc:creator>
		<pubDate>Wed, 30 Jul 2008 05:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/?p=151#comment-18663</guid>
		<description>hey, why did´nt anybody tell before about this stuff? this is very _cool_ shit! it´s even in the debian repository. you just got to apt it! xml was until now somewhat of a problem on the commandline for me...thanks a lot! ;)</description>
		<content:encoded><![CDATA[<p>hey, why did´nt anybody tell before about this stuff? this is very _cool_ shit! it´s even in the debian repository. you just got to apt it! xml was until now somewhat of a problem on the commandline for me&#8230;thanks a lot! <img src='http://bashcurescancer.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bonobo</title>
		<link>http://bashcurescancer.com/the-best-in-command-line-xml-xmlstarlet.html/comment-page-1#comment-14078</link>
		<dc:creator>Bonobo</dc:creator>
		<pubDate>Tue, 01 Jul 2008 10:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/?p=151#comment-14078</guid>
		<description>For a layman, Bash Curers Cancer may come across as a long list of web page addresses published online across the home page and beyond. However, a closer look reveals this site as intensively technical as regards UNIX and Linux and the author of the blog is an expert at his subject. He showcases his prowess by suggesting coding for indicated problems.</description>
		<content:encoded><![CDATA[<p>For a layman, Bash Curers Cancer may come across as a long list of web page addresses published online across the home page and beyond. However, a closer look reveals this site as intensively technical as regards UNIX and Linux and the author of the blog is an expert at his subject. He showcases his prowess by suggesting coding for indicated problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Hodgson</title>
		<link>http://bashcurescancer.com/the-best-in-command-line-xml-xmlstarlet.html/comment-page-1#comment-13238</link>
		<dc:creator>Andrew Hodgson</dc:creator>
		<pubDate>Tue, 24 Jun 2008 22:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/?p=151#comment-13238</guid>
		<description>hi, really like your blog. 

i use xmlstarlet at work for a couple of nagios tests (before i got into ruby and REXML anyway) and when parsing some xml from a windows service provided to me from a .net team, i had to specify the namespace in the query, and the syntax in a little funny:



$ wget -qO - $URL &gt; $TMPFILE
$ xml sel -N x=&quot;http://services.company.com/service/&quot; -t -v &quot;//x:Status&quot; $TMPFILE



the name space is defined after -N, and then used in the xpath after -v with its variable &quot;x&quot;, which is an arbitrary string. perhaps &quot;namespace&quot; would be more readable, like:

$ xml sel -N namespace=&quot;http://services.company.com/service/&quot; -t -v &quot;//namespace:Status&quot; $TMPFILE

the only reason i use a $TMPFILE is because i might want to pull out more than one node from the xml, and this seemed like the clearest way to do it without hitting the service more than once, although i&#039;m no doubt incorrect.

anyway, hope this helps someone trying to use this tool against xml provided by a .net service.</description>
		<content:encoded><![CDATA[<p>hi, really like your blog. </p>
<p>i use xmlstarlet at work for a couple of nagios tests (before i got into ruby and REXML anyway) and when parsing some xml from a windows service provided to me from a .net team, i had to specify the namespace in the query, and the syntax in a little funny:</p>
<p>$ wget -qO &#8211; $URL &gt; $TMPFILE<br />
$ xml sel -N x=&#8221;http://services.company.com/service/&#8221; -t -v &#8220;//x:Status&#8221; $TMPFILE</p>
<p>the name space is defined after -N, and then used in the xpath after -v with its variable &#8220;x&#8221;, which is an arbitrary string. perhaps &#8220;namespace&#8221; would be more readable, like:</p>
<p>$ xml sel -N namespace=&#8221;http://services.company.com/service/&#8221; -t -v &#8220;//namespace:Status&#8221; $TMPFILE</p>
<p>the only reason i use a $TMPFILE is because i might want to pull out more than one node from the xml, and this seemed like the clearest way to do it without hitting the service more than once, although i&#8217;m no doubt incorrect.</p>
<p>anyway, hope this helps someone trying to use this tool against xml provided by a .net service.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coldclimate</title>
		<link>http://bashcurescancer.com/the-best-in-command-line-xml-xmlstarlet.html/comment-page-1#comment-13155</link>
		<dc:creator>coldclimate</dc:creator>
		<pubDate>Tue, 24 Jun 2008 08:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://bashcurescancer.com/?p=151#comment-13155</guid>
		<description>Thats so handy it makes my eyes hurt.</description>
		<content:encoded><![CDATA[<p>Thats so handy it makes my eyes hurt.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.215 seconds -->
