Re: [xsl] To avoid converting html entities

Subject: Re: [xsl] To avoid converting html entities
From: Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx>
Date: Wed, 08 Jun 2005 18:16:17 +0300
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_

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.



Current Thread