[xml] path with xmllint
- From: John Davis <davisjf gmail com>
- To: xml gnome org
- Subject: [xml] path with xmllint
- Date: Mon, 14 Nov 2011 09:55:02 -0500
Hello
Not sure if this is the right place to ask, but I am using the
xmllint.exe for windows. I've noticed that queries which use
conditionals do not work. I am not sure if this is a limitation with
the dos shell or the syntax of xmllint.
I've tried:
xmllint Foo.xml --xpath /XXX/(one|two)/YYY
and it chokes on the "|".
xmlint Foo.xml --xpath /XXX/one/YYY
and
xmlint Foo.xml -xpath /XXX/two/YYY
work.
--
John F. Davis
独树一帜
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]