Navigation
API > API/Runtime > API/Runtime/XmlParser
References
| Module | XmlParser |
| Header | /Engine/Source/Runtime/XmlParser/Public/FastXml.h |
| Include | #include "FastXml.h" |
Syntax
class IFastXmlCallback
Remarks
Create your own class that implements the IFastXmlCallback interface to process the XML elements as they are loaded by FFastXml::ParseXmlFile(). You'll receive a ProcessElement() call for every XML element that is encountered, along with a corresponding ProcessClose() when that element's scope has ended. ProcessAttribute() will be called for any attributes found within the scope of the current element.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ProcessAttribute
(
const TCHAR* AttributeName, |
Called when an XML attribute is encountered for the current scope's element. | |
| bool | ProcessClose
(
const TCHAR* Element |
Called when an element's scope ends in the XML file | |
| bool | ProcessComment
(
const TCHAR* Comment |
Called when a comment is encountered. This can happen pretty much anywhere in the file. | |
| bool | ProcessElement
(
const TCHAR* ElementName, |
Called when a new XML element is encountered, starting a new scope. | |
| bool | ProcessXmlDeclaration
(
const TCHAR* ElementData, |
Called after the XML's header is parsed. This is usually the first call that you'll get back. |