Functions - xmlutils

fromJSON

Converts a JSON object to an XML representation.

fromTable

Converts a table to its xml representation.

fromJSON

(json j, JsonOptions options)

returns xml | error

Converts a JSON object to an XML representation.

Parameters

  • j json
  • The json source

  • options JsonOptions - {}
  • JsonOptions struct for JSON to XML conversion properties

  • Return Type

    (xml | error)
  • XML representation of the given JSON

fromTable

(table tbl)

returns xml

Converts a table to its xml representation.

Parameters

  • tbl table
  • The source table

  • Return Type

    (xml)
  • XML representation of source table