This method converts object of class xdoc into object of class One can also specify conversion_parameters. By default, method will create XML-representation of the document with header <?xml … ?>(one can also disable this header by specifying relevant parameter).
With an option $.file[filename] file name for the created file object can be defined. [3.4.2]
Example $document[^xdoc::create{<?xml version="1.0" encoding="windows-1251" ?>
<document>
string1<br/>
string2<br/>
</document>}]
$response:body[^document.file[]]