Subject: RE: Match pattern From: David Schach <davidsch@xxxxxxxxxxxxx> Date: Thu, 21 Jan 1999 12:11:17 -0800 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Match pattern, Dieter Maurer | Thread | Fw: Match pattern, Oren Ben-Kiki |
Re: Match pattern, Dieter Maurer | Date | XSL Engine with FO support ?, Patrice Bonhomme |
Month |