<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 41: val options -u and -a don't work at the same time</title><link>https://sourceforge.net/p/xmlstar/feature-requests/41/</link><description>Recent changes to 41: val options -u and -a don't work at the same time</description><atom:link href="https://sourceforge.net/p/xmlstar/feature-requests/41/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 30 May 2011 17:50:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xmlstar/feature-requests/41/feed.rss" rel="self" type="application/rss+xml"/><item><title>val options -u and -a don't work at the same time</title><link>https://sourceforge.net/p/xmlstar/feature-requests/41/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Listing elements and filtering the output by unique lines (via -u) works like a charm. Once one tries to display attributes, while again filtering output by unique lines, xmlstarlet complains. Could this mode of operation be added to xmlstarlet? Test file config.xml attached.&lt;/p&gt;
&lt;p&gt;skayser @ ray1 ~/tmp$ xmlstarlet el -u config.xml &lt;br /&gt;
UserScriptConfig&lt;br /&gt;
UserScriptConfig/Script&lt;br /&gt;
UserScriptConfig/Script/Exclude&lt;br /&gt;
UserScriptConfig/Script/Include&lt;/p&gt;
&lt;p&gt;$ xmlstarlet el -a -u config.xml &lt;br /&gt;
I/O warning : failed to load external entity "-u"&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Kayser</dc:creator><pubDate>Mon, 30 May 2011 17:50:20 -0000</pubDate><guid>https://sourceforge.net1dd688c62b1c878a8390b637f6248cf65872712b</guid></item></channel></rss>