On 12/13/05, David Stanek <[EMAIL PROTECTED]> wrote:
> Yep. With XML the > is a legal character in an attribute value, while < is
> not[0]. It would be nice to have Kid encode things before they get passed to
> the parser. So we could get something like this to work:
>
> <div py:if="${ulevel <= 0}">
>
> But I am not sure how good of an idea this would be. I'll bring it up on
> the Kid mailing list after I think about it for a bit.
>
> [0]
> http://www.w3.org/TR/2004/REC-xml-20040204/#NT-AttValue
That's a really tough call. Doing that would mean that the template
itself is no longer valid XML (or XHTML), which is not a pleasant
thought. Of course, <= 0 is also not pleasant, so one of the two
will have to give.
Kevin
Kevin