This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
built in entity
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] built in entity
- From: "cutlass" <cutlass at secure0 dot com>
- Date: Fri, 19 Oct 2001 17:38:12 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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