XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS