|
Subject: Re: [xsl] Conditionally use attribute sets? From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 14 Nov 2005 17:17:49 GMT |
> It can be done.
what can be done?
> Consider the following stylesheet
But that stylesheet doesn't use attribute sets at all.
It writes out a result that happens to have an atribute called
xsl:use-attribute-sets but the attribute sets defined in the stylesheet
e are not used, are they?
> (which you can test by applying it to itself):
but you get the same result if you remove
<xsl:attribute-set name="Oscar">
<xsl:attribute name="slob">yes</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="Felix">
<xsl:attribute name="slob">no</xsl:attribute>
</xsl:attribute-set>
from the stylesheet.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Conditionally use attribu, JBryant | Thread | Re: [xsl] Conditionally use attribu, JBryant |
| RE: [xsl] Conditionally use attribu, JBryant | Date | [xsl] Three alternatives to draw XM, Luis Vielva |
| Month |