Visual Basic 6.0
Visual Basic 6.0
Convert HTML File to XML File
See more HTML-to-XML/Text Examples
Convert HTML file to XML file.Chilkat Visual Basic 6.0 Downloads
Dim success As Long
success = 0
' This example assumes the Chilkat API to have been previously unlocked.
' See Global Unlock Sample for sample code.
Dim htmlToXml As New HtmlToXml
' Indicate the charset of the output XML we'll want.
htmlToXml.XmlCharset = "utf-8"
success = htmlToXml.ConvertFile("test.html","out.xml")
If (success <> 1) Then
Debug.Print htmlToXml.LastErrorText
Else
Debug.Print "Success"
End If