Try /"rootnode"
This link is to an interactive XPath Tutorial.   It is not just a tutorial,
you can enter xpath statements and watch them run interactively!
It explains how to do some of the more esoteric queries...

 http://www.zvon.org/xxl/XPathTutorial/General/examples.html

Mark

Miguel Angel Urrutia Soler wrote:

> Hi All, I'm running xindice on w2k and make a install on a win98 for my
> partner for testing . The problem that wolfgang refers does not occurred in
> my installation on win98, the bat adds all the jars, the .bat files seems
> working fine i have only i few problems with index corruption maybe due
> inappropriate shutdowns... tomorrow i look closer the files to search any
> condition or problem relate it. Again, the 1 exit code is correct, i though
> that 1 exit code means a error condition...
>
> BTW anyone knows the way i can retrieve only the root node using xpath from
> a xindice document? i used self but i got the root and descendants too...
>
> Miguel Angel Urrutia Soler
> ----- Original Message -----
> From: "Kimbro Staken" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, February 13, 2002 11:52 PM
> Subject: Windows scripts was Re: SOLUTION Startup Error
>
> Is there anyone who is running this under windows and is comfortable with
> .bat files that could take a look at the scripts and see if they're
> correct or can be improved?
>
> On Tuesday, February 12, 2002, at 02:55 PM, Wolfgang B�r wrote:
>
> > Hi Paul,
> >
> > there was another problem on WIN98:
> >
> > the line : for %%i in (%XINDICE_HOME%\java\lib\*.jar) do call
> > %XINDICE_HOME%\bin\lcp.bat %%i
> > which adds all the jars in the directory to the localclasspath didn't
> > work in WIN98 so
> > i added all the jars manually to the classpath
> >
> > with the point in the classpath:
> > you have to set set it like: set CLASSPATH=.;C:\...xx.jar;C:\...xy.jar
> > so it is like an own path which means the current directory !
> >
> > Hope it helps,
> >
> > Wolfgang
> >
> > Paul Caton wrote:
> >
> >> I'm also using jdk 1.3.1 on Windows 98. I tried both Wolfgang's
> >> suggested fixes and had no joy getting the server to start. I followed
> >> the Windows installation docs faithfully, too. There was only one
> >> point I was unsure of: Step 6. tells you to add the Xindice.jar file
> >> to the CLASSPATH, which I did, and also says:
> >>
> >> "make sure you have . in your classpath"
> >>
> >> I've mainly done Unix classpaths before and I'm not very familiar with
> >> Windows conventions; is "." the same as %ClassPath% at the beginning
> >> of the path, or does it mean you literally have to have ";.;" as one
> >> of the paths?
> >>
> >> Paul Caton
> >>
> >> ---
> >> Electronic Publications Editor
> >> Women Writers Project
> >>
> >> e-mail: [EMAIL PROTECTED]
> >>    tel: (401) 863-3619
> >> address: Box 1841, Brown University, Providence RI 02912
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> Kimbro Staken
> XML Database Software, Consulting and Writing
> http://www.xmldatabases.org/

Reply via email to