From: Olivier M. <om...@ti...> - 2004-09-01 00:25:43
|
Leyne, Sean wrote: >>>Oh btw, '&' has to be escaped, both in an attribute value and in the >>>element text. '&' is common for such escape. >> >>And quotes, too, sir. > > And that's only the start! > > There are a large number of characters that need to be 'escaped' -- I > won't list them here. Absolutely not Sean. ;-) All text that is not markup constitutes the character data of the document. And: CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*) See this paragraph, it resumes it all quite clearly: http://www.w3.org/TR/2004/REC-xml-20040204/#syntax -- Olivier Mascia |