* 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:bjo...@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/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml