xsl-list
[Top] [All Lists]

RE: Outputting HTML elements with XSLT 1.0 in a column of a table

2005-05-02 03:16:22

Hi All,
       I want to output the following in a concat statement. 
I have set an
for-each loop in XSL

<xsl:value-of select="concat('<td>', ANELEMNT, '</td>')"/>


Don't try to output tags as text! You need to construct nodes in a result
tree, the system will look after serializing these as HTML tags.

You want

<td><xsl:value-of select="ANELEMENT"/></td>

Michael Kay
http://www.saxonica.com/




--~------------------------------------------------------------------
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>
--~--