Brad and Mark, No index's have been defined. However Mark's 'Windows' fix appears to have cleared some of my difficulties up.
Thanks, Lennard On Friday 26 July 2002 12:44 pm, Brad Burdick wrote: > [ Charset ISO-8859-15 unsupported, converting... ] > > > No... I'm using Linux as I stated earlier. To be precise I am using > > RedHat 7.2. > > is your product_id attribute an index field, and if so, what type is it? > just wondering if it might be an integer index field and dropping non-digit > values. > > seems like i was bitten by that in the past. > > -brad > > > On Friday 26 July 2002 12:28 pm, you wrote: > > > Let me guess, running on windows? > > > Try this... > > > > > > xindice xpath_query -c /db/data/products -q > > > "/[EMAIL PROTECTED]'G120320']" > > > > > > If not running on windows, please provide more info. > > > > > > HTH, > > > > > > Mark > > > > > > Lennard Fuller wrote: > > > > I'm running Xindices on Linux and have the following difficulty: > > > > With the following xml doc in collection /db/data/products. > > > > <?xml version="1.0"?> > > > > <product product_id="G120320"> > > > > <description>Glazed Ham</description> > > > > </product> > > > > > > > > This command line query returns nothing > > > > xindice xpath_query -c /db/data/products -q > > > > /[EMAIL PROTECTED]"G120320"] > > > > > > > > Where as a similar xml document and XPath query without any > > > > alphabetic chars in the product id works perfectly. > > > > > > > > I've verified that both docs (with and without the 'G') are in the > > > > collection I'm querying. Am at a loss as to what I should do next. > > > > > > > > Thanks, > > > > Lennard