Subject: built in entity
From: "cutlass" <cutlass@xxxxxxxxxxx>
Date: Fri, 19 Oct 2001 17:38:12 +0100
|
after checking with saxon, msxml and sablotron .65
why in a <xsl:if test=""/> does the greater than value '>' not throw an
error but '<' throws one ?
obviously the use of > and < works, no entity comments please...,
hmmmm
simple isnt it, wouldnt one expect an error using these unescaped ???? i
have always escaped these, so i have never tested in the past.
must be friday...
XML
---------------------------------------------------
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="test1.xsl"?>
<test>101</test>
XSL
----------------------------------------------------
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:if test="test > 100">
asdfasdf
</xsl:if>
</xsl:template>
</xsl:stylesheet>
cheers, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|