[EMAIL PROTECTED] wrote at 27 Sep 2002 16:44:32 -0300: > Out of the XML recomendation,section 2.2: > > A character is an atomic unit of text as specified by ISO/IEC > 10646 [ISO10646]. Legal characters are tab, > carriage return, line feed, and the legal graphic characters of Unicode > and ISO/IEC 10646.
XML 1.0 Second Edition removed "graphic" (which I always found confusing but which is good ISO-speak). > or, more clearly: > > Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | > [#x10000-#x10FFFF] > /* any Unicode character, excluding the surrogate blocks, FFFE, > and FFFF. */ > > > That means "-", "#12235" , etc are characters, while "'1'" is not. ⿋ is a character reference. '#12235' is how you talk about a character's code point, although the hexadecimal representation is usually preferable. In XSL terms, "'1'" is a one-character string literal, but while you could claim that it is one character, there's no XSL conversion from a string to a character, so <fo:character character="'1'"/> should fail. Regards, Tony Graham ------------------------------------------------------------------------ XML Technology Center - Dublin mailto:[EMAIL PROTECTED] Sun Microsystems Ireland Ltd Phone: +353 1 8199708 Hamilton House, East Point Business Park, Dublin 3 x(70)19708 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]