263. XML

XML routines

263.1. Summary of Module Globals

List of Global Functions

  • XMLError - The error string from the xml parser. It should be used when the agent did not return content. A reset happens before a new XML parsing starts.

  • XMLToYCPFile - Read XML file into YCP

  • YCPToXMLFile - YCPToXMLFile() Write YCP data into formated XML file

  • xmlCreateDoc - define a new doc type with custom settings, if not defined, global settings will be used.

List of Global Variables

    263.2. Global Functions

    263.2.1. XMLError

    The error string from the xml parser. It should be used when the agent did not return content. A reset happens before a new XML parsing starts.

    Return value

    • string - parser error

    263.2.2. XMLToYCPFile

    Read XML file into YCP

    Function parameters

    • string xmlFile

    Return value

    • map<string, any> - Map with YCP data

    263.2.3. YCPToXMLFile

    YCPToXMLFile() Write YCP data into formated XML file

    Function parameters

    • symbol docType

    • map contents

    • string outputPath

    Return value

    • boolean - true on sucess

    263.2.4. xmlCreateDoc

    define a new doc type with custom settings, if not defined, global settings will be used.

    Function parameters

    • symbol doc

    • map docSettings

    Return value

    • void

    263.3. Global Variables

    263.4. Module Requirements

    none