xsl-list
[Top] [All Lists]

Keep previous attributes, while adding a new one

2004-03-31 12:42:25
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


<Prev in Thread] Current Thread [Next in Thread>