.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.



This topic: Main > 0LASubrXmlWriterElemStart
Topic revision: r2 - 2022-05-25 - MisaghKarimi
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback