|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: recreating elements with attributes
At 11:41 AM 2/11/2004, I wrote, erroneously:
(The matches on the latter two templates might as well be "@DIVISION" and "@*", in which case you wouldn't need to set the priority since "@DIVISION" has a default priority of 0.5, while "@*" has a priority of 0. But in this case they would also match attributes on other elements; whether this is a good thing depends on what the rest of your transformation is doing.) "@DIVISION" has a default priority of 0. "@*" has a priority of -0.5. Both "TOLL_CDR/@DIVISION" and "TOLL_CDR/@*" have priorites of 0.5. (So my actual argument is still applicable.) This is specified in XSLT section 5.5. Sorry I should've checked instead of going by memory! (My brain only supports integers I guess.) Cheers, Wendell
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
|

Cart








