you know now that I have resolved to playing around with it i can say
that it supports more than I thought, dare I say I was wrong and it
does support xpath 1.0 fully, its just a matter of knowing how to use
everything the correct way. Guess a tutorial for CF users would be a
nice thing... anyone got any links? I'll try my hand at making a
tutorial and posting it.

Adam

On Thu, 12 Aug 2004 11:50:48 -0400, Adam Haskell <[EMAIL PROTECTED]> wrote:
> I used w3schools to start out. Just use the basics and you won't go
> wrong. And remeber xmlsearch does not fully support xpath (hopefully
> that will change in new versions?) I have found myself sticking mainly
> with simple xpaths like xmlsearch(product_XML,"
> //Product[SKU='222-111']/Price") Meaning Return the Price node when it
> is the Child node of node SKU with a value of 222-111 and SKU is the
> child node of Product(aka Price is the grandchild of Product).  I'll
> put together a short tutorial on it for the amussement of all if
> anyone is interested, fair warning though I am not an expert with
> xpaths but I know enough to be dangerous :)
>
> Adam H
>
> what this is going to do is find any product node which has a
> childnode of SKU and that SKU's value (xmltext) is 222-111 then it
> will return an array of Price nodes.
>
>
>
> On Wed, 11 Aug 2004 08:30:23 -0700, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> > yesterday we all shared our colorwheel related bookmarks like good
> > little do-bees.
> >
> > today i'm hoping somebody can help me out with a good xpath
> > tutorial...preferrably one that employs CF.  I've found a number of
> > xpath related pages (w3schools.com, zvon.org)...but none that seem to be
> > walking me thru from start to finish...and certainly none that 'teach'
> > it in the CF world (using xmlSearch).
> >
> > spent all day yesterday banging my head against a wall trying to get a
> > simple xpath statement working...but couldn't.  i've resigned myself to
> > figuring out xpath today, even if it kills me (well, that might be a
> > little melodramatic...i'd certainly kill the person next to me before
> > taking myself out).
> >
> > any pointers would be appreciated.
> >
> > charlie
> >
> >
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to