procedure load(doc:xmldoc, fname:text)
Document to use
File name of the document to load
This code reads in a document and displays its contents on screen applying automatic formatting instead of its original formatting.
! Reading data from an XML file
! Set indentation mode for XML output (default after load: MANUAL)
! Display document contents on screen
This routine replaces the content of the provided document object
with the XML file given as second argument: all properties of the
document are reset to their default value and the indentation
mode is set to XML_MANUAL
Vertical and horizontal spacing of each loaded node are set
in order to preserve as much as possible the original formatting
of the document.
The parser accepts USACII, UTF8 and ISO-8859-1
encoded documents (documents using other encodings are not supported).
Texts are stored in their original encoding: no conversion is performed.
However, XML encoded symbols (e.g. &) are replaced by the
If you have any comments or suggestions about these pages,
please send mail to firstname.lastname@example.org.
© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.