Convert PDF To XML - VBScript
PDF Extractor SDK sample in VBScript demonstrating ‘Convert PDF To XML’
PdfToXml.vbs
' Create Bytescout.PDFExtractor.XMLExtractor object
Set extractor = CreateObject("Bytescout.PDFExtractor.XMLExtractor")
extractor.RegistrationName = "demo"
extractor.RegistrationKey = "demo"
' Load sample PDF document
extractor.LoadDocumentFromFile "sample3.pdf"
extractor.SaveXMLToFile "output.xml"
WScript.Echo "Extracted data saved to 'output.xml' file."