<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to Parse XML in IEC</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/16f6a08980/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/16f6a08980/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/16f6a08980/</id><updated>2020-02-27T13:49:43.045000Z</updated><subtitle>Recent posts to How to Parse XML in IEC</subtitle><entry><title>How to Parse XML in IEC</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/16f6a08980/?limit=25#ddd9" rel="alternate"/><published>2020-02-27T13:49:43.045000Z</published><updated>2020-02-27T13:49:43.045000Z</updated><author><name>DavidCozens</name><uri>https://forge.codesys.com/u/davidcozens/</uri></author><id>https://forge.codesys.comd37d6b9ad37e78ad8cc4f2894f47362c5f35eb03</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I wish to be able to parse an XML file from an IEC function block as an asynchronous activity. I have been looking in CmpXMLParser and the only interfaces exposed for this is CreateXMLParser2, _ and FreeXMLParser. _ is a blocking interface, and deals with the whole XML file in one go. I need to spread the load over multiple block updates.&lt;/p&gt;
&lt;p&gt;When I look in the CmpXMLParseItf file there is another XML parsing interface declared that we have successfully used in a runtime component CreateXMLParser, _ and FreeXMLParser. This interface takes a buffer containing a portion of the xml file and parses just that chunk. If I combine this with the SysFileAsync library I should be able to achieve what I need.&lt;/p&gt;
&lt;p&gt;The problem appears to be that the library does not offer access to the functions in this interface. How can I call these interface functions from IEC code.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>