From: Noam P. <npo...@us...> - 2012-01-10 16:27:09
|
On Tue, Jan 10, 2012 at 12:05 AM, Ming Chen <cim...@ya...> wrote: > While my original expected outputs (which really is XmlStar and > XPathBuilder's output) are: "<para type="error" position="1"/><para > type="warning" position="1"/><para type="info" position="1"/>", the > XmlLint and XPathTester give some empty lines actually. I get blank lines from XMLStarlet as well, which is not surprising since it's based on the same code as xmllint. What command line arguments did you use for XMLStarlet? I used xml sel -t -c "/descendant::node()/rec/child::node()[1]" test.xml Noam |