.XML WRITER ELEM START
This subroutine adds a starting tag for an element to the given XML file. Added in 6.2.0
Usage:
PASS <XML_stream_name> FIELD SHARE? N
PASS <XML_element_name> FIELD SHARE? N
GOSUB --- .XML WRITER ELEM START
* Check for errors
IF --- .XML WRITER ELEM START NE
Description:
This subroutine adds a starting tag for the given element name to an XML file previously opened by .XML WRITER OPEN api. After adding a starting tag for an element, you can add attributes (
.XML WRITER ADD ATTR), data (
.XML WRITER ADD DATA), or sub-elements (
.XML WRITER ELEM START) to it.
<XML_stream_name> is the name of XML stream that has been assigned during .XML WRITER OPEN api. This field is required and cannot be more than 22 characters.
<XML_element_name> is the name of element you want to add to your xml file. This field is required and cannot be more than 64 characters.
You can check the value of --- .XML WRITER ELEM START field after the api call to check for errors.
See also
.XML WRITER ELEM END
Comments:
Read what other users have said about this page or add your own comments.