You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Jeremy Morgan <ai...@mac.com> on 2004/03/04 20:53:02 UTC

Character Entities

Hey all, another newbie question.

How do you get sax to stop converting character entities to the 
character they represent?  for example, things like &amp; or &uuml; are 
being replaced with & or ü.

--Jeremy

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Character Entities

Posted by Elliotte Rusty Harold <el...@metalab.unc.edu>.
At 2:53 PM -0500 3/4/04, Jeremy Morgan wrote:
>Hey all, another newbie question.
>
>How do you get sax to stop converting character 
>entities to the character they represent?  for 
>example, things like &amp; or &uuml; are being 
>replaced with & or ü.
>

You don't really want to do that. There's a way 
to do it, depending on the parser and whether the 
entities are defined internally or externally, 
but you really don't want to do that.
-- 

   Elliotte Rusty Harold
   elharo@metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org