[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xindice-users
Subject:    RE: NullPointerException in query "Beep"
From:       Robert.Marcotte () firstdatacorp ! com
Date:       2003-01-28 18:57:20
[Download RAW message or body]


Thanks! I initially found that  "//property[contains(@id, 'icas') and
contains(., '5678')]"
worked as well, but I am so much of beginner when it comes to XPath, I
would use anything
that works.


-Rob


> ---------+---------------------------->
> > "Stefan Lischke" |
> > <lischke@novacom.|
> > net>             |
> > > 
> > 01/28/2003 08:41 |
> > AM               |
> > Please respond to|
> > xindice-users    |
> > > 
> ---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                   \
|  |       To:       <xindice-users@xml.apache.org>                                   \
|  |       cc:                                                                        \
|  |       bcc:                                                                       \
|  |       Subject:  RE: NullPointerException in query "Beep"                         \
|  >------------------------------------------------------------------------------------------------------------------------------|





Hi,

> (//ClientProfile/propertySheets/ClientPropertySheet/properties/property)
> [@id='icas' and self::node()='1234']
> 
> The offending portion seems to be the self::node()='1234' location path.

On The first view i think u schould use text()='1234'.

I just tried it and it works. With self::node() u are just selecting the
node, which has a text.

mfg stefan


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic