File:  [parser3project] / parser3 / tests / 097.html
Revision 1.4: download - view: text, annotated - select for diffs - revision graph
Thu Mar 1 10:33:58 2007 UTC (19 years, 4 months ago) by misha
Branches: MAIN
CVS tags: HEAD
- added test for creating xdoc from file

$file[^file::load[binary;http://www.parser.ru/none/;
	$.headers[
		$.USER-AGENT[paf]
	]
	$.any-status(1)
]]
#server: $file.SERVER<br>
$file.status
<hr />
#<pre>$file.text</pre>


$file[^file::load[binary;http://www.parser.ru/xmlview.xsl;
	$.timeout(10)
	$.any-status(1)
]]
^try{
	$xdoc[^xdoc::create[$file]]
	xdoc from file created successfully (documentElement: $xdoc.documentElement.nodeName)
}{
	can't create xdoc.
	$exception.handled(1)
}

E-mail: