This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: placing value inbetween quotes in output
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] placing value inbetween quotes in output
- From: Jörg Heinicke <joerg dot heinicke at gmx dot de>
- Date: Fri, 12 Oct 2001 02:13:32 +0200
- References: <5.1.0.14.0.20011011190738.021999d0@earthlink.net>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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