This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: using default params?


lachance@chass.utoronto.ca (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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]