Jump to content

Search the Community

Showing results for tags 'character entities convert'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Calendars

  • Community Calendar

Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. I am working with an xml document that has html tags embedded in it. The character entities that are embedded in the html need to be converted to tags: For example, the following character entities are part of the html: ’ — I need to perform these conversions Convert '’' to '’' Convert '—' to '—' Convert ' ' to ' ' I have successfully converted these 3 character entities in the DTD by adding entity declarations. For example: <!ENTITY rsquo "’"> I will be receiving these xml documents frequently, and the html text changes, so there will probably be additional character entities (beyond the 3 above) that require conversion. Is there another way to perform these character entity conversions without having to add an entity declaration in the DTD for each one?
×