Sample code for 30+ languages & platforms
Xojo Plugin

Decode HTML Entities found in XML

Demonstrates how to decode HTML entities found in XML.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

// Load an XML file containing the following:

// <?xml version="1.0" encoding="UTF-8"?>
// <output>Franz&#xf6;sische</output> 

Dim xml As New Chilkat.Xml
success = xml.LoadXmlFile("qa_data/xml/hasHtmlEntity.xml")

// Get non-decoded content, then get decoded content.

// Result is Franz&#xf6;sische
System.DebugLog(xml.Content)

// Result is Französische
Dim strDecoded As String
strDecoded = xml.DecodeEntities(xml.Content)
System.DebugLog(strDecoded)