create. Creating a document based on specified file

^xdoc::create[file]

This constructor creates object of class xdoc based on XML-code in specified file.

Example
$file[^file::load[binary;http://server/data.xml;
   $.timeout(10)
]]
$xdoc[^xdoc::create[$file]]
$response:body[^xdoc.string[]]


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