|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] placing value inbetween quotes in output
Not a very helpful subject line, anyway
I have xml like the following
<link url="http://whatever.com" text="This is easy to match"/>
and output must be
<xsl:template match="link">
<fo:basic-link color="blue" text-decoration="underline"
external-destination="http://whatever.com">
This is easy to match
</fo:basic-link>
</xsl:template>
if I do this:
<xsl:template match="link">
<fo:basic-link color="blue" text-decoration="underline"
external-destination="<xsl:value-of select="@url"/> ">
<xsl:value-of select="@text"/>
</fo:basic-link>
</xsl:template>
then xalan falls over with the complaint that external-destination
cannot contain '<'
What is a good way to get the @url value inbetween those quotes?
--
Eric Smith
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








