IPWorks EDI 2020 macOS Edition

Questions / Feedback?

ParseAttachment Method

Parses an XML document at the specified index.

Syntax

public func parseAttachment(index: Int32) throws -> Void

Remarks

The class will try to parse the attachment at the specified Index. After ParseAttachment returns the document may be navigated by setting XPath.

Note: It is necessary to call the Load method before trying to parse attachments.

Example:

pdfxml.InputFile = "C:\input.pdf";
pdfxml.Load();
pdfxml.ParseAttachment(0);
pdfxml.XPath = "/root/element";
Console.WriteLine(pdfxml.XText);

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 macOS Edition - Version 20.0 [Build 7941]