[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Questions on the new XSL spec (section 2.6)

Subject: RE: Questions on the new XSL spec (section 2.6)
From: David Schach <davidsch@xxxxxxxxxxxxx>
Date: Wed, 30 Dec 1998 17:41:28 -0800
new schach
Comments and questions below.

> -----Original Message-----
> From:	James Clark [SMTP:jjc@xxxxxxxxxx]
> Sent:	Monday, December 28, 1998 9:52 PM
> To:	xsl-list@xxxxxxxxxxxxxxxx
> Subject:	Re: Questions on the new XSL spec (section 2.6)
> 
> Steve Dahl wrote:
> > 
> > In section 2.6, the new pattern rules seem confusing to me:
> > 
> >     Can '.', '..', ancestor(), ancestor-or-self(), and id() appear in
> > match patterns, or only in select patterns?
> 
> Yes.
> 
> >     What does it mean when they occur in a match pattern, if that's
> > permitted?
> 
> See 2.6.2 under Matching, second paragraph.  These are kind of confusing
> when used as match patterns; one case is definitely useful:
> 
	[David] - Can you be more specific.  What does it mean to use
ancestor in a match pattern?

>  id("foo")
> 
> matches an element with ID "foo".
> 
> >     Can these patterns appear in a SubtreeExpr? In other words, can they
> > appear as a "child" of another pattern? For example, is
> > 'a/b/ancestor(c)/d' a permitted pattern?
> 
> Yes.
> 
	[David] - This construct is not permitted in the Microsoft XSL
implementation. The ancestor must be on the left side of the /.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.