[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Match pattern
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|