I (still) have the same problem.
-----Oorspronkelijk bericht-----
Van: clholm [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 14 mei 2002 5:49
Aan: [email protected]
Onderwerp: Re: Xpath query syntax
Thanks to John Meyer for a swift reply!
I am running a WINNT command prompt. The suggested line
xindice xpath -c /db/vp -q '/[EMAIL PROTECTED]"VPU-1001"]'
throws a rather lengthy DEBUG message on the server monitor.
John Meyer wrote:
> Are you running this command from a windows command prompt? If so you need
> to use single quotes around your xpath query and double quotes to
demarcate
> strings. The following line should work:
>
> xindice xpath -c /db/vp -q '/[EMAIL PROTECTED]"VPU-1001"]'
>
> -----Original Message-----
> From: clholm [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 13, 2002 7:32 PM
> To: [email protected]
> Subject: Xpath query syntax
>
> Hello,
>
> Regarding Xpath queries and Xindice.
>
> I am finding the expected results* after running the following:
>
> xindice xpath -c /db/vp/ -q /products
>
> However, when I run either of the following:
>
> xindice xpath -c /db/vp -q /[EMAIL PROTECTED]"VPU-1001"]
> (as per example 5.1 in the Xindice Command Line Tools
> Reference)
>
> xindice xpath -c /db/vp -q
"/[EMAIL PROTECTED]'VPU-1001']"
> ,
>
> then Xindice draws a blank.
>
> *<?xml version="1.0"?>
> <products xmlns:src="http://xml.apache.org/xindice/Query"
> src:col="/db/vp" src:key="prods">
> <product product_id="VPU-1001">
> <title>Mamadou Ly Mandinka Drum Master</title>
> <description>Mandinka drumming</description>
> </product>
> <product product_id="VPU-1002">
> <title>Tabala Wolof</title>
> <description>Sufi drumming</description>
> </product>
> </products>
>
> I may be overlooking something entirely obvious, but would appreciate
> hearing from anyone who has been successful with this kind of query.
>
> Thanks,
>
> Carl Holm
> [EMAIL PROTECTED]
>
> Hello,
>
> Regarding Xpath queries and Xindice.
>
> I am finding the expected results* after running the following:
>
> xindice xpath -c /db/vp/ -q /products
>
> However, when I run either of the following:
>
> xindice xpath -c /db/vp -q /[EMAIL PROTECTED]"VPU-1001"]
> (as per example 5.1 in the Xindice Command Line Tools
> Reference)
>
> xindice xpath -c /db/vp -q
"/[EMAIL PROTECTED]'VPU-1001']"
> ,
>
> then Xindice draws a blank.
>
> *<?xml version="1.0"?>
> <products xmlns:src="http://xml.apache.org/xindice/Query"
> src:col="/db/vp" src:key="prods">
> <product product_id="VPU-1001">
> <title>Mamadou Ly Mandinka Drum Master</title>
> <description>Mandinka drumming</description>
> </product>
> <product product_id="VPU-1002">
> <title>Tabala Wolof</title>
> <description>Sufi drumming</description>
> </product>
> </products>
>
> I may be overlooking something entirely obvious, but would appreciate
> hearing from anyone who has been successful with this kind of query.
>
> Thanks,
>
> Carl Holm
> [EMAIL PROTECTED]
>
> Hello,
>
> Regarding Xpath queries and Xindice.
>
> I am finding the expected results* after running the following:
>
> xindice xpath -c /db/vp/ -q /products
>
> However, when I run either of the following:
>
> xindice xpath -c /db/vp -q /[EMAIL PROTECTED]"VPU-1001"]
>
> (as per example 5.1 in the Xindice Command Line Tools
> Reference)
>
> xindice xpath -c /db/vp -q
"/[EMAIL PROTECTED]'VPU-1001']"
> ,
>
> then Xindice draws a blank.
>
> *<?xml version="1.0"?>
> <products xmlns:src="http://xml.apache.org/xindice/Query"
> src:col="/db/vp" src:key="prods">
> <product product_id="VPU-1001">
> <title>Mamadou Ly Mandinka Drum Master</title>
> <description>Mandinka drumming</description>
> </product>
> <product product_id="VPU-1002">
> <title>Tabala Wolof</title>
> <description>Sufi drumming</description>
> </product>
> </products>
>
> I may be overlooking something entirely obvious, but would appreciate
> hearing from anyone who has been successful with this kind of query.
>
> Thanks,
>
> Carl Holm
> [EMAIL PROTECTED]