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

Already looked there.

The thing I don't understand is that I assumed that by using a different
"branch" of the XML document as the root node, that I could just go from
that point by using /sub/thing rather than going from the root node
every time as in /root/sub/thing.  It seems I am incorrect in thinking
that, but I can't find anywhere to confirm it.

The CFMX docs only have a tony little bit about XPath and even Nate's
"Utilzing XML and XSLT..." doc doesn't go in to using branches as a
separate context, past just mentioning it.

My thinking above is down to one of Nate's sentence "If you want, you
can supply any individual XML Element object as the first argument [of
XMLSearch()], instead of the whole document.  The XPath expression will
be considered relative to whatever element you provide".  So it seems
from that that I _can_ pass a branch and search relative to the root of
the new branch, it just doesn't seem to work?

Any CFMX/XPath geniuses out there?  Or even an XPath simpleton who could
help out?  ;o)

Tim.


-------------------------------------------------------
Tim Blair
Web Application Engineer, Rawnet Limited
Direct Phone : +44 (0) 1344 393 441
Switchboard : +44 (0) 1344 393 040
-------------------------------------------------------
rawnet ltd
Atrium Court
Bracknell                    [EMAIL PROTECTED]
Berkshire                    Tel : +44 (0) 1344 393 040
RG12 1BW, UK                 http://www.rawnet.com
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------




-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to