Converts a string containing reserved XHTML CHaracter Entity references to a string using HTML reserved characters.
function StrXHtmlDecode( const ASource: String ): String;
Parameters |
Description |
ASource |
Values with XHTML character entities to be converted. |
String - String representation of the decoded values.
StrXHtmlDecode is a String function used to convert thje values in ASource to their representation that may include XHTML reserved characters. ASource may contain XHTML Character Entity references.
StrXHtmlDecode will convert the following XHTML Character Entity references to their HTML reserved character representation:
-------- -
|
& & |
< < |
> > |
" " |
' ' |
Use StrXHtmlEncode to convert a string containing HTML reserved characters to their HTML Entity reference representation.
StrXHtmlDecode handles the ' character entity which is not defined in HTML 4.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |