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.
=============
C:\Users\davis\Documents\dbclass\xpath
>xmllint BookstoreQ.xml --xpath "/Bookstore/ ( Book | Magazine )/Title"
XPath error : Invalid expression
/Bookstore/ ( Book | Magazine )/Title
                  ^
xmlXPathEval: evaluation failed
XPath evaluation failure

C:\Users\davis\Documents\dbclass\xpath



-- 
John F. Davis

独树一帜
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to