Re: [xml] path with xmllint
- From: Bjoern Hoehrmann <derhoermi gmx net>
- To: John Davis <davisjf gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] path with xmllint
- Date: Mon, 14 Nov 2011 16:09:22 +0100
* John Davis wrote:
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 "|".
The cmd.exe shell recognizes various characters as special characters,
and you have to escape them to remove their special meaning. Here you
can use `"` marks around the parameter value.
--
Björn Höhrmann · mailto:bjoern hoehrmann de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]