|
|
^dom:save/string/file[output options]
output options:
$.method[xml|html|text] $.encoding[windows-1251|...]
@main[] ^testdom2[] #^testdom1[] #^testdom0[] @testdom2[] $dom[^dom::load[test.xml]] #^dom.save[$.encoding[windows-1251];write.xml] #^dom.save[;write.xml] ^dom.save[$.encoding[windows-1251];write.xml] @testdom1[] $dom[^dom::load[test.xml]] $dom[^dom.xslt[test.xsl;$.param1(48)]] $response:body[^dom.file[windows-1251]] @testdom0[] $dom[^dom::load[test.xml]] ^dom.save[windows-1251;write.xml] ^dom.string[windows-1251] $פאיכ[^dom.file[windows-1251]] ^פאיכ.save[binary;writefile.xml] $response:body[$פאיכ] OK