This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: URGENT - my first xsl
On Thu, Aug 10, 2000 at 01:27:37PM +0000, Brendan McKenna wrote:
> > <card id="<xsl:value-of select="cardid"/>" title"<xsl:value-of
> > select="cardtitle"/>">
>
> This line is causing your problem. What you'll need to do is
> something like this:
>
> <card>
> <xsl:attribute name='id'>
> <xsl:value-of select="cardid"/>
> </xsl:attribute>
> .
> .
> .
Alternatively, write it as
<card id="{cardid}" title="{cardtitle}">
which you may find clearer.
Or not. It's up to you :-)
.robin.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list