I also consider "./SomeElement" to be a valid match pattern. "./SomeElement"
and "SomeElement" are semantically equivalent.
> -----Original Message-----
> From: Dieter Maurer [SMTP:dieter@xxxxxxxxxxxx]
> Sent: Thursday, January 21, 1999 10:48 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Re: Match pattern
>
> Hello Oren
>
> > <xsl:template match="./SomeElement">
> I do interpret this match pattern different than you (although,
> I,too, think is a match pattern.
>
> According the spec, "match(P,n)" is true iff "n in select(P,n0)"
> for some "n0". As I understand this: "SomeElement" and
> "./SomeElement" are equivalent as match pattern (and
> they match both *AT THE ELEMENT*).
>
> What you probably should use is ".[SomeElement]"
>
> Dieter
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|