Re: [xml] path with xmllint

2011-11-14 Thread John Davis
Hello Alex, On Mon, Nov 14, 2011 at 9:57 AM, Alex Bligh a...@alex.org.uk wrote: --On 14 November 2011 09:55:02 -0500 John Davis davi...@gmail.com wrote: how about xmllint Foo.xml --xpath /XXX/(one|two)/YYY Sadly, no. It says XPath error : Invalid expression with the caret symbol beneath

Re: [xml] path with xmllint

2011-11-14 Thread John Davis
On Mon, Nov 14, 2011 at 10:10 AM, Stefan Behnel stefan...@behnel.de wrote: The DOS shell. You need to quote your parameters, as in xmllint Foo.xml --xpath /XXX/(one|two)/YYY My apologies. I should have sent out the complete example so it shows that I am doing exactly that. =