Re: [xsl] multi-document question

Subject: Re: [xsl] multi-document question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 24 Nov 2003 09:38:40 GMT
> Maybe my terminology is off.

yes:-) That's why it's always good to give sample input/output.

&#x00E9;<

That's not an entity reference, its a (numeric) character reference (NCR)
(it's not just a terminoligy difference: they are expanded at
differenttimes)

An xslt system is allowed to output characters in any way that produce
the same input when parsed. Since &#x00E9; and an e-acute character
produce the same input to any XML parser either of these may be used.
An XML parser doesn't care.

Usually a system will use character data rather than NCR for any
characters that are in the encoding (which is all characters for utf-8)
but if it doesn't, it doesn't. 

> (hope this renders right in your email client!)
It did, which suggests that actually you posted a latin-1 e-acute which
presumably wasn't the output of your stylesheet, which was specifying
utf-8 output.

David

-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread