# WRITEXML

Updated: 10/14/2021, 2:20:00 PM
Created: 10/14/2021, 2:20:00 PM
Last Updated By: mikes
Read Time: 1 minute(s)

# Description

This writes a dynamic array in XML format to a hash file. It first transforms the XML into a dynamic array before being written to the file. The transform takes place using the style sheet in DICT->@WRITEXML. An XML record is thus written to a hash file. It may take the general form:

WRITEXML rec ON file,id ELSE STOP 210,id
1

An example of use would be as:

WRITEXML rec ON file,id ON ERROR CRT "Broken! " : rec
1

Go back to jBASE BASIC

Go back to Programmers' Reference Guide