ByteScout Data Extraction Suite - VBScript - Pdf xfa form to xml with pdf extractor sdk - ByteScout

ByteScout Data Extraction Suite – VBScript – Pdf xfa form to xml with pdf extractor sdk

  • Home
  • /
  • Articles
  • /
  • ByteScout Data Extraction Suite – VBScript – Pdf xfa form to xml with pdf extractor sdk

pdf xfa form to xml with pdf extractor sdk in VBScript using ByteScout Data Extraction Suite

Learn to code in VBScript to make pdf xfa form to xml with pdf extractor sdk with this simple How-To tutorial

These source code samples are assembled by their programming language and functions they use. ByteScout Data Extraction Suite was created to assist pdf xfa form to xml with pdf extractor sdk in VBScript. ByteScout Data Extraction Suite is the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK.

Want to speed up the application development? Then this VBScript, code samples for VBScript, developers help to speed up the application development and writing a code when using ByteScout Data Extraction Suite. Just copy and paste this VBScript sample code to your VBScript application’s code editor, add a reference to ByteScout Data Extraction Suite (if you haven’t added yet) and you are ready to go! These VBScript sample examples can be used in one or many applications.

ByteScout Data Extraction Suite free trial version is available for download from our website. Free trial also includes programming tutorials along with source code samples.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

XfaFormToXml.vbs
      
' Create Bytescout.PDFExtractor.XMLExtractor object Set extractor = CreateObject("Bytescout.PDFExtractor.XFAFormExtractor") extractor.RegistrationName = "demo" extractor.RegistrationKey = "demo" ' Load sample PDF document extractor.LoadDocumentFromFile "..\..\samplexfa.pdf" ' Iterate through content types. See type descriptions below. For i = 0 To 12 count = extractor.GetCount(i) ' Get count of files of given type For j = 0 To count - 1 extractor.SaveToFile i, j, CStr(i) & "-" & CStr(j) & ".xml" Next Next WScript.Echo "XFA form data has been extracted to XML files." ' XFAFormContentType enumeration: ' ' 0 - "config" type; ' 1 - "connectionSet" type; ' 2 - "datasets" type; ' 3 - "form" type; ' 4 - "localeSet" type; ' 5 - "postamble" type; ' 6 - "preamble" type; ' 7 - "schema" type; ' 8 - "template" type; ' 9 - "xfdf" type; ' 10 - "xmpmeta" type; ' 11 - "<xdp:xdp>" opening tag type; ' 12 - "<xdp:xdp>" closing tag type.

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page

Explore ByteScout Data Extraction Suite Documentation

Explore Samples

Sign Up for ByteScout Data Extraction Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next