Use single quotes.

>xindice xpath_query -c /../..  -q "/[EMAIL PROTECTED]'AB123456']"


Charles Guo wrote:

> Hello,
>
> I have encountered a problem that the xpath_query dose NOT take the
> attribute with LETTERS but takes ONLY NUMBERS.
> Is this a bug?  Is there any way to get arround it?  Thanks for help.
>
> For example:
>
> -------------- Following does NOT work ---------------
>
> <?xml version="1.0"?>
> <product id="AB123456">
>         <description> test </description>
> </product>
>
> >xindice xpath_query -c /../..  -q "/[EMAIL PROTECTED]"AB123456"]"
> ----------------------------------------------------------
>
> -------------- Following (control) works  ---------------
>
> <?xml version="1.0"?>
> <product id="123456">
>         <description> test </description>
> </product>
>
> >xindice xpath_query -c /../..  -q "/[EMAIL PROTECTED]"123456"]"
>
> ------------------------------------------------------------
>
> === === === === System Info === === === ===
> SW:             Xindice Server (xml-xindice-1.0)
> Computer:       PC
> OS:             Windows 2000 Pro
>                 Red Hat Linux 7.1
>
> Charles

--
Mark J Stang
System Architect
Cybershop Systems

begin:vcard 
n:Stang;Mark
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
fn:Mark Stang
end:vcard

Reply via email to