| ProLinga-4GL Reference Manual |
|---|
XML — Process XML documents.
XML ADD xml_document_name NODE node_ref [
VALUE
data_ref
]
XML CDATA xml_document_name VALUE cdata_ref
XML COMMENT xml_document_name VALUE comment_ref
XML COUNT xml_document_name NODE node_ref RETURNING ret_ref
XML LOAD xml_document_name FROM
{
FILE
ext_file_name
|
XML
xml_document_name
}
XML MERGE xml_document_name SOURCE source_xml_document
XML MODIFY xml_document_name NODE node_ref VALUE data_ref
XML NODEPTR xml_document_name NODE
{ node_ref | CHILD | PARENT }
XML READ xml_document_name NODE node_ref RETURNING ret_ref
XML REMOVE xml_document_name NODE node_ref
XML SAVE xml_document_name TO FILE ext_file_name [
MODE
FORMAT
]
XML TRANSFORM SOURCE { FILE | TEXT | XML } source_ref XSL { FILE | TEXT | XML } xsl_ref OUTPUT { FILE | TEXT | XML } dest_ref
XML VALIDATE xml_document_name { DTD | XMLSCHEMA } { FILE | TEXT | XML } validate_ref
The XML command processes XML documents. Status of the executed command can be retrieved using built-in function XMLSTATUS().
| Name of a XML document in memory. |
| An XML document. |
| Any data reference as well as hard coded strings containing an element name or attribute name. |
| Any data reference as well as hard coded string containing a path and an element or attribute. If the path is omitted, then the path will be the current path where the node pointer is pointing to. |
| Any data reference as well as a hard coded string. This section will be placed withing CDATA tags, so the contents does not have to be valid XML. |
| Any data reference as well as a hard coded string. This section will be placed withing comment tags. |
| Any data reference as well as a hard coded string or numeric value. |
| Any data reference that can have a value assigned to it. |
| Any data reference which can hold text data. |
| Path and name of an external file. |
| Line number in the buffer. |
| << THREAD Command | Action Handlers >> |