xsl-list
[Top] [All Lists]

RE: xsl:variable question

2005-02-28 04:25:16
Hi,

    What you are doing right now is adding the <img> element 
to your output
tree.

No, he's generating an RTF and binging that to a variable.

If you need the value of img in your variable, then you 
need to use

<xsl:value-f select="..."/> construct.

xsl:value-of instruction extracts the string value of whatever's selected, and 
img elements in XHTML are empty element, so you'd ge nothing.

Adding the string representation of your img element shouldn't be too
difficult.

img is an empty element, it's string representation is an empty string.

Cheers,

Jarno

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>