Tags:
tag this topic
create new tag
view all tags
---+ .XML WRITER ADD DATA _This subroutine adds data to the most recent opened element in the given XML file. Added in 6.2.0_ <br />%TOC% ---++ Usage: <pre> PASS <XML_stream_name> FIELD SHARE? N PASS <XML_data> FIELD SHARE? N PASS <XML_data_len> FIELD SHARE? N PASS <XML_data_format> FIELD SHARE? N GOSUB --- .XML WRITER ADD DATA <br /> * Check for errors <br /> IF --- .XML WRITER ADD DATA NE</pre> ---++ Description: This subroutine adds data to the most recent opened element in an XML file. You can run this subroutine multiple times to add more data to your file. <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_data> is the data you want to write to your XML file. This parameter is required and cannot be more than 32767 (32k) characters. <XML_data_len> is the length of data from position 1 of the XML_data field that is going to be written to the XML file. This is an optional parameter and if not passed, all the data in XML_data will be written to the XML file. This parameter also can be used to force Appx to write trailing spaces to the XML file. The value of this field cannot be larger than 32767. <XML_data_format> specifies format of the data. This field is optional and can have one of following values: * STRING: This tells Appx that it needs to escape the data before writing it to the XML file. This is the default value if not passed. * RAW: This tells Appx that the data is already escaped and write it as is. * CDATA: This tells Appx to wrap the data in cdata tag before writing it to the xml file (<![CDATA[ XML_data ]]>) You can check the value of --- .XML WRITER ADD DATA field after the api call to check for errors. See also [[0LASubrXmlWriterElemEnd][.]] [[0LASubrXmlWriterAddAttr][XML WRITER ADD ATTR]] ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2022-05-25
-
MisaghKarimi
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback