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

Re: Conditionally use attribute sets?

Subject: Re: Conditionally use attribute sets?
From: drkm <darkman_spam@xxxxxxxx>
Date: Mon, 14 Nov 2005 12:04:18 +0100 (CET)
internet explorer 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

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.