[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Keep previous attributes, while adding a new one


Subject: [xsl] Keep previous attributes, while adding a new one
From: Naomi Gronson <naomi_gronson@xxxxxxxxx>
Date: Wed, 31 Mar 2004 11:42:25 -0800 (PST)

Is there any way that I can retain the
<programlisting>'s attributes while adding the new
@format value.  I could list them out manually, but we
are constantly adding new attributes and I don't want
to have to update the xsl everytime a new one is
added.  Any ideas?  Thanks.

<xsl:template match="programlisting[ancestor::para]">
	<programlisting format="bling">
	<xsl:apply-templates /> 
	</programlisting>
</xsl:template>

-Naomi

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


Current Thread
Keywords
xsl