[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: built in entity
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Fri, 19 Oct 2001 19:11:01 +0200
Hi,

cutlass wrote:

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 &gt; and &lt; works, no entity comments please...,


Just because it is not *mandatory* to escape ">" in a XML document but just a convenience to provide some consistency with "<"...

And since ">" is simpler to read than "&gt;" I use to inverse the tests in my XSLT transformation to avoid using "<"...

Hope this helps.

Eric





--
Rendez-vous à Paris pour le Forum XML.
                   http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
  • built in entity
    • cutlass - Fri, 19 Oct 2001 12:52:49 -0400 (EDT)
      • Jeni Tennison - Fri, 19 Oct 2001 13:16:48 -0400 (EDT)
      • Eric van der Vlist - Fri, 19 Oct 2001 13:20:35 -0400 (EDT) <=
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member