[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: placing value inbetween quotes in output

Subject: Re: placing value inbetween quotes in output
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Fri, 12 Oct 2001 02:13:32 +0200
xsl value in quotes
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.