xsl-list
[Top] [All Lists]

Re: To avoid converting html entities

2005-06-08 08:16:17
Ahsan Ali wrote:

The output method is set to html... & I'm using MSXSL (i.e xslt 1.0)

Another quick question.. Is it possible to write the above xsl code in
such a way that the input tag is output as <input />, and _not_
<input></input>

If you wish to output HTML (and you specify that in xsl:output), then the control is on the XSLT processor. Now, if you'd rather output XHTML, i would suggest using the XML output method. and control the output of empty elements yourself; processors tend to use the <short /> form but you can always force the opposite by putting an <xsl:text> </xsl:text> in the element.

hth

Manos

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