[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: self axis vs .
Michael Kay wrote: Hi > > *[not(node-name(.) = $to-exclude/node-name(.))] > And there I was thinking "there's no point doing lazy construction > of trees; no-one in their right mind is going to create an element > and then only access its name". I did :-) I find this is the most natural way to create a sequence of QName in XSLT, more than using the xs:QName() ctor. > I think I prefer the more direct: > * except (elem1 | ns:elem) Yes, right. Actually the use of the sequence of elements is useful nevertheless, in a specific case: to be able to parameterize an expression (in a reusable function, or to let a user or another stylesheet to set other elements trough a parameter). Regards, --drkm _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
|
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
|