Re: [xsl] built in entity

Subject: Re: [xsl] built in entity
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2001 18:06:52 +0100
Jim,

> 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...,

You only *have* to use the &gt; entity in the sequence ]]> when it
appears in element content. It's a bit like the fact that you only
have to use &quot; when you want a double quote within an attribute
value and you're using double quotes to delimit the attribute value.
You can use it at other times if you want, but there's no need.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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


Current Thread