Subject: Re: using default params?
From: Jens Lautenbacher <jtl@xxxxxxxxxx>
Date: 29 Mar 2000 19:15:47 +0200
|
lachance@xxxxxxxxxxxxxxxxx (Francois Lachance) writes:
> David,
>
> very nice explanation of xsl:copy-of
>
> But could you explain further how the code you present would set a default
> value for the attribute?
>
> >
> > <table border border="1001! >
> > <xsl:copy-of select="@border"/>
>
<table bgcolor="#ff0000" border="1">
<xsl:copy-of select="@border"/>
<xsl:copy-of select="@bgcolor"/>
<xsl:apply-templates/>
</table>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|