xsl-list
[Top] [All Lists]

[xsl] Following XSL causing strange HTML errors

2006-08-28 11:37:46
<div id="typeDiv">
        <xsl:choose>
                <xsl:when test="1=1">
                </xsl:when>
        </xsl:choose>
</div>

Something about the above code is causing an elusive problem with the
HTML in my document. Removing the code removes the behavoir. The above
code, as far as I can tell, should have absolutely no output (although
it may have whitespace, someone else could tell me).

if I place <xmp> inside the div, encapsulating the XSL, a quite
strange thing happens. The code for the close-div tag appears, as well
as the rest of the document after the div as though the XMP tag were
not closed.

What on earth is going on and is the culprit XSL?

-Steve

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