create. Creating a document based on specified XML

^xdoc::create{XML-code}
^xdoc::create[
base_path]{XML-code}

This constructor creates object of class xdoc based on XML-code. One can also specify base path.

Example
$document[^xdoc::create{<?xml version="1.0" encoding="windows-1251" ?>
<document>
text
</document>
}]
$response:body[^document.string[]]


Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 30.03.2004