[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Difference in priority of node() and *
> But if we/everybody is convinced, that what I have said (i.e. default > priority of * should be higher than node() ) is correct; and that this > is a better design, then in future version of the language, we can > deprecate the old idea, and adopt the new design. It would be far too much of a change to make keeping the same syntax you couldn't make version="3.0" change the priority of node() you'd have to introduce a new something() test to replace node(). But I don't think there is any problem anyway, there is absolutely nothing in the language that suggests that in general more specific matches get a higher default template. foo[x=1] is clearly more specific than foo[x > 0] but they have the same default priority. node() and * having the same priority is no different. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|