ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrXML
forum topic indicator irrXML parsing
person icon
jacaru@example.c
Guest
Quote
2007-04-16 20:08:07

Hello,

Probably any of you have encountered this issue before and have a fast solution.

I'm parsing an xml file using irrXML and i would like to know how to parse xml elements like " or ? to their correct UTF8 characters.

Thanks.

person icon
Guest
Guest
Quote
2007-04-16 20:08:43

I guess this is the place, in CXMLReaderImpl.h

 //! generates a list with xml special characters 
   void createSpecialCharacterList()
   {
      // list of strings containing special symbols,
      // the first character is the special character,
      // the following is the symbol string without trailing &.

      SpecialCharacters.push_back("&");
      SpecialCharacters.push_back("<lt;");
      SpecialCharacters.push_back(">gt;");
      SpecialCharacters.push_back("\"quot;");
      SpecialCharacters.push_back("'apos;");
      
   }


I miss there more special characters:

? ? ? ? ? ? ? ?

Does anyone know a table where i migh look up all the codes?

Thanks.

person icon
bitpane
Guest
Quote
2007-04-16 20:09:03

niko got all of them-
http://www.w3.org/TR/2000/REC-xml-20001006#sec-predefined-ent

everything else is &#ASCII; I think
http://www.safecenter.net/UMBRELLAWEBV4/codeNOW.htm

person icon
jacaru@example.c
Guest
Quote
2007-04-16 20:09:52

got it now, thanks!


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |