Petr Cimprich <[EMAIL PROTECTED]> writes:

> David Hedbor wrote:
> 
> > Hey.
> >
> > I'm having a problem outputting non-html tags (ie non-container not
> > defined in HTML). When I do <foo/> in the output when generating HTML
> > I get <foo></foo>, since <foo> isn't a tag defined in
> > XML. <xsl:text><foo/><xsl:text> gives the same result. If I do
> > <![CDATA[<foo>]]> I get &lt;foo> - that has to be a bug, yes?
> 
> The following should work:
> <xsl:text disable-output-escaping="yes"><![CDATA[<foo>]]></xsl:text>
> 
> Text nodes are escaped by default. I think Sablotron is compliant in this
> point. The ugliness of this solution results from different concepts of XML
> and HTML, as mentioned by Andrew.

Is it then a bug that < is quoted as &lt; and > isn't quoted at all?

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Q:      What's the difference between USL and the Titanic?
A:      The Titanic had a band.

Reply via email to