This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: built in entity


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]