[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Re: [SPAM] RE: [xsl] Re: [SPAM] RE: [xsl] RE: [SPAM] - Re: [xsl] characters in xsl - Bayesian Filter detected spam


Subject: RE: [xsl] Re: [SPAM] RE: [xsl] Re: [SPAM] RE: [xsl] RE: [SPAM] - Re: [xsl] characters in xsl - Bayesian Filter detected spam
From: "Bradley, Peter" <PBradley@xxxxxxxxxx>
Date: Thu, 11 Nov 2004 16:25:40 -0000

Thanks Colin, I got there I think

:)

Peter

 -----Original Message-----
From: 	Colin Paul Adams [mailto:colin@xxxxxxxxxxxxxxxxxx]
Sent:	11 November 2004 16:24
To:	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:	Re: [xsl] Re: [SPAM] RE: [xsl] Re: [SPAM] RE: [xsl] RE: [SPAM] - Re:
[xsl] characters in xsl - Bayesian Filter detected spam

>>>>> "David" == M David Peterson <m.david@xxxxxxxxxx> writes:

    David> Colin defined it perfectly...  use his definition to base
    David> your understanding on.

Actually, I think my definition was far from perfect.

Origin rather than context item, is a better definition.

The difference:

in fred//jim

means, starting from the context item, select child nodes named fred,
and then select all descendants named jim.

whereas //jim means all nodes named jim that are descendants of the
document root.

and .//jim means all nodes named jim that are descendants of the
context node.

rather incosistent syntax, I think, but you quickly get used to it.
--
Colin Paul Adams
Preston Lancashire


Keywords
xsl