Peter B. West wrote at 30 Sep 2002 13:28:18 +1000:
 > Tony Graham wrote:
 > > [EMAIL PROTECTED] wrote at 27 Sep 2002 16:44:32 -0300:
 > >  > 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.
 > Tony,
 > I don't think this gets us out of difficulty.  A casual inspection 

Forgive me, but I wasn't trying to get anybody out of any difficulty,
I was just trying to keep the terminology accurate.

 > So how do I represent a character?
 > To me, the cleanest, least ambiguous way is to represent a <character> 
 > attribute assignment value with "'<character>'" - a string literal of 
 > length 1.

Except that you know that that's not specified among the allowed

The interesting thing is that 'character' doesn't appear in the
productions in Section 5.9, Expressions, of the XSL Recommendation.
Now there's a question for [EMAIL PROTECTED]!

I think that you represent a character as a single character, e.g.,
character="c", or as a numeric character reference, e.g.,


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]

Reply via email to