You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Santiago Álvarez <sa...@eresMas.com> on 2002/05/06 12:20:04 UTC
RE: XPath details [Repeat Posting]
Another Xpath question:
I try
xindice xpath -c /db/films -q "/film[director='Albert Hughes']"
and I get and error due to the blank inside the query. Any hint?
Thanks in advance!!
Santiago
----------------------------------------
Santiago Álvarez
eresMas <http://www.eresmas.com/>
tfno. +34 91 2020099
móvil: +34 655 922927
mail: santiago.alvarez@eresMas.com
<ma...@eresMas.com>
Postal Address:
Ribera del Sena, s/n
Edificio APOT, Planta 3
28042 Madrid
Spain
Fax: +34 91 2020004
Yahoo id: alvarez_santiago
----------------------------------------
> -----Mensaje original-----
> De: Michael Cortez [mailto:mcortez@fullcoll.edu]
> Enviado el: martes, 30 de abril de 2002 18:22
> Para: 'xindice-users@xml.apache.org'
> Asunto: RE: XPath details [Repeat Posting]
>
>
> >> It seems that I cannot do this - e.g. selecting
> >> "/session/header[isModified='false']" yields no result on the below
> >> document because it seems that "isModified=" will always
> >> compare against
> >> the entire isMOdified document whose value in this case is:
> >>
> >> <isModified xmlns:src="http://xml.apache.org/xindice/Query"
> >> src:col="/db/catie_3
> >> 3eecca6-6921-44d2-a191-861a77bc5d82/session_xml"
> >> src:key="841c44e9-54b9-4204-b0d
> >> 2-f7bf0ed81426">false</isModified>
> >>
>
> It may just be too early in the morning, but shouldn't that be:
>
> /session/header/isModified[text() = 'false']
>
> or
>
> /session/header/isModified = 'false'
>
> NOT
>
> /session/header[isModified='false']
>
> --
> Mike
>