[Home] [By Thread] [By Date] [Recent Entries]


Alessandro Triglia wrote:

> As I understand, in UTF-8+name, an ampersand is represented as  &&;  which
> means that, if UTF-8+name is used for XML, "normal" entity references will
> look like:
> 
> 	&&;myentity;
> 
> and numeric character references will look like:
> 
> 	&&;#12345;

No.  &&; represents an ampersand.  Normally it wouldn't be used in text 
you were going to feed to an XML processor because XML processors don't 
like that.  & represents just "&" because UTF-8+names doesn't 
assign a replacement.  ü represents a single u+umlaut character, 
inhereited from HTML.

-- 
Cheers, Tim Bray (http://www.tbray.org/ongoing/)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member