Sorry about the "G" in ApplyXPathG.  Just my fat fingers.  It should be
ApplyXPath.

Gary

Gary L Peskin wrote:
> 
> Oh, I forgot to mention, that I also tried:
> 
>   java ApplyXPathG new.xml "id('a')"
> 
> and got the following results:
> 
> Loading classes, parsing Daniel\new.xml, and setting up serializer
> Querying DOM using id('a')
> <output>
> <test id="a" name="TestA"/>
> </output>
> 
> Gary
> 
> Gary L Peskin wrote:
> >
> > Daniel --
> >
> > This worked for me just as is.  Here are my results:
> >
> >   C:\Temp\Daniel>java IDTest
> >   Has Child Nodes: true
> >   Name: test
> >   Value: null
> >
> > Is this what you got or do you get some kind of exception?  This looks
> > like it's working fine on my system.
> >
> > The version of XalanJ that you're using is very old.  I'd recommend
> > upgrading to the latest version ASAP.  But that shouldn't affect any of
> > this.
> >
> > Gary
> >
> > Daniel Einspanjer wrote:
> > >
> > > Thank you very much for taking a look at this!  Attached is a zip with a very 
>simple test case.
> > > If you would be able to get this to work, I could easily apply it to my work 
>since I am basically
> > > doing the same thing.
> > > -- Daniel Einspanjer, [EMAIL PROTECTED] on 07/13/2001

Reply via email to