Re: [xsl] Maintaining character entities

Subject: Re: [xsl] Maintaining character entities
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 20 May 2003 10:48:32 +0100
  &ldquo; &uuml; are not predefined character entities. 
  http://www.w3.org/TR/REC-xml#sec-predefined-ent

  They apear as literal text strings

  '&' 'l' 'd' 'q' 'u' 'o' ';'

  and so when searialized to XML the '&' character is replaced by '&amp;' giving

No. If &ldquo; is defined by the DTD used by the input document then you
will not get this text string, you will get a single character output,
either as character data or a character reference, or an entity
reference.

If the entity is not defined by the DTD used on input, teh input is not
well formed and you will get no output at all.


David


________________________________________________________________________
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