Next in thread → Next in month →

Re: [xml-dev] Why is the > symbol a reserved character?

From
Michael Kay <>
To
Date
2010-07-09T16:44:03Z
ID
<>
Thread
Re: [xml-dev] Why is the > symbol a reserved character?
> On 09/07/2010 13:57, Michael Kay wrote:
>> n attribute values, > is reserved, which is pretty pointless, and this
>> is entirely due to SGML legacy, which allows the quotes around the
>> attribute value to be omitted.
>
> You mean < here rather than > (which can be used in attribute values)

Yes, sorry, got that wrong.

When XSLT serializes, it MUST escape "<" when generating XML, and it 
MUST NOT do so when generating HTML. Wish I could remember why.

Michael Kay
Saxonica
Next in thread → Next in month →