--- parser3/src/www/htdocs/Attic/index.html 2002/01/14 17:48:58 1.522 +++ parser3/src/www/htdocs/Attic/index.html 2002/01/22 09:08:36 1.530 @@ -4,6 +4,20 @@ $response:charset[windows-1251] $response:content-type[$.value[text/html]$.charset[$response:charset]] @main[] +$paint_nodes[^table::set{x y +50 0 +100 50 +} +] + +$square[^image::create(100;100;0x000000)] +^square.line(0;0;100;100;0xFFFFFF) +^square.line(100;0;0;100;0xFFFFFF) + +^square.replace(0x000000;0xFF00FF)[$paint_nodes] +$response:body[^square.gif[]] +^response:body.save[binary;square.gif] + #^xpath[] #^ttablesetlang[] #^mail3[] @@ -801,27 +815,24 @@ by id: } @show-xdoc2[xdoc] -^rem{ ^xdoc.save[out/save.xml; -# $.encoding[windows-1251] +# $.encoding[utf-8] $.method[xml] ] $file[^xdoc.file[ -# $.encoding[windows-1251] + $.encoding[utf-8] $.method[html] ]] ^file.save[text;out/save_file.html] -} #$response:body[^xdoc.file[ $.media-type[text/paf] ]]
^taint[html][^xdoc.string[ $.method[html] -# $.version[1.0] -# $.encoding[utf-8] +# $.encoding[utF-8] # $.omit-xml-declaration[yes] -# $.standalone[yes] -# $.doctype-public[-//W3C//DTD XHTML] -# $.doctype-system[/a/b/c/] -# $.indent[no] - $.media-type[text/paf] +# $.standalone[no] +# -$.doctype-public[-//W3C//DTD XHTML] +# -$.doctype-system[/a/b/c/] +# $.indent[yes] +# $.media-type[text/paf] ]]