string. Converting document into string

^document.string[]
^
document.string[Document_to_text_conversion_parameters]

This method converts document into text. One can also specify
conversion_parameters.
By default, method will create XML-representation of the document with header
<?xml … ?> (This method converts document into text. One can also specify conversion_parameters).

The result goes to visitor
as-is. [3.1.4]

Example
$document[^xdoc::create{<?xml version="1.0" encoding="windows-1251" ?>
<document>
string1<br />
string2<br />
</document>}
]
^document.string[
    
$.method[html]
]



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