Well, i need decode predefined entities in XML/HTML to their original form - is there are some easy way to do it according all rules? Maybe in java or vb scipt - something like unescape() function...
http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML
basically i need to convert "&" to "&" and so on
yeah, but i already have something like this
Local $PredefinedEntitiesInXML[5][2] = [[""",'"'],["&","&"],["'","'"],["<","<"],[">",">"]]
For $k = 0 To UBound($PredefinedEntitiesInXML,1) - 1
$sSting = StringRegExpReplace($sSting,$PredefinedEntitiesInXML[$k][0],$PredefinedEntitiesInXML[$k][1])
Next
what i wanted is
$code = "Function func_unescape(x)" & @CRLF
$code &= "func_unescape=unescape(x)" & @CRLF
$code &= "end Function"