Re: [xsl] [OT] entity defintions

Subject: Re: [xsl] [OT] entity defintions
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 6 Jul 2005 10:39:40 +0100
  I'm having a bit of trouble with a pound sign in a SOAP message. The
  parser seems to choke on pound signs, even when they are encoded as
  &#xa3;. The document is encoded as UTF-8. Can anyone confirm that these
  numerical entities are the most fundamental type and are automatically
  defined in all XML grammars?


And your xslt question is?

&#xa3; isn't an entity reference but a character reference, and as such
is never defined in a dtd, it is just part of the syntax of xml and must
be supprted by any xml parser, just as < is supported to start an element
tag. If your document is utf8 encoded of course you don't need to use a
character reference you could enter the character directly (it will be
two bytes).


David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________

Current Thread