|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Conditionally use attribute sets?
David Carlisle wrote: > I think after using xslt most days since the earliest drafts > of xslt 1 I've used most parts of the language multiple times, > but I've never used attribute sets, which have always seems > rather useless to me. I like the idea, when I have a small set of attributes, used in a lot of places. And easily configurable in a XSLT configuration document. Indeed, using templates instead of attribute sets in such a configuration file is not so far away. > Instead of an attribute set you can use a named template that > consists of a sequence of xsl:attribute statements. It is far > more flexible. Yes, you're right. Actually, the only point I see in favour of the attribute sets is that we know we can use attributes (but only attributes) within them. Within a template, we have to check it's designed for (i.e. called just after opening an element). Thanks, --drkm ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Tilichargez cette version sur http://fr.messenger.yahoo.com
|
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








