Simple Entity Converter

I found myself needing a simple entity conversion tool when working with XML files. Not finding exactly what I needed online I finally broke down and created my own. I refined it a bit and posted it up.

Check it out: Simple Entity Converter

Update: 12/18/07

I have been doing a little tweaking:

  1. Minor updates to the layout
  2. Broke the entity list into two groups, the predefined XML set and all the rest. I found converting the core XML entities can come in handy.
  3. I made the entity list selectable so now you can check the entities you would like to convert
  4. Added some toggle controls for each group so its easy to select or deselect them all.

Note: Conversion starts to get a little bit dicey at super high code points. Starting at about 900+, unless the character is listed in the selection table on the right it will automatically be translated to its numbered entity. I’m working on it.

2 responses to “Simple Entity Converter”

  1. #1. Marvin on March 20th, 2008 at 1:51 pm

    Hi Larry, your converter is very helpfull to me but I have many predefined entities that are not listed on it. Can I add the other indentities listed in my DTD in able to help me better? Thanks a lot!

  2. #2. gorn on April 3rd, 2008 at 3:50 am

    It doe s does not convert numbered wntities to characters at all. I have tried:

    Konečně jsme tady přišeli, memoto žil a zdrav, navzdory,
    pravděpodobně, bůhům nebe a pekla. Ah ! Ta namáhavá cesta !

Leave a Reply