Subject: Re: [xsl] placing value inbetween quotes in output From: Jörg Heinicke <joerg.heinicke@xxxxxx> Date: Fri, 12 Oct 2001 02:13:32 +0200 |
In some situations with more complex "building process" of the value of an attribute, you can use <xsl:attribute>. But attribute value templates are much shorter and better for such easy use cases like yours, only as example: <fo:basic color="blue" text-decoration="underline"> <xsl:attribute name="external-destination"><xsl:value-of select="@url"/></xsl:attribute> <xsl:value-of select="@text"/> </fo:basic> Joerg > Eric, > > At 06:02 PM 10/11/01, you wrote: > > <fo:basic-link color="blue" text-decoration="underline" > > external-destination="<xsl:value-of select="@url"/> "> > > Try external-destination="{@url}"> > > It's called an "attribute value template", designed for just such > situations as your own. > > Enjoy, > Wendell XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] placing value inbetween q, Wendell Piez | Thread | [xsl] XML Family (Editors), Astor Rivera |
Re: [xsl] Keyword xsl:call-template, Jörg Heinicke | Date | Re: [xsl] Newbie question counting , Jörg Heinicke |
Month |