Following XSL causing strange HTML errors
<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?
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format