|
|
| version 1.48, 2001/03/24 15:16:43 | version 1.309, 2001/09/11 09:14:04 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| ^testdom4[] | |
| $t[^table:load[/test.cfg]] | #^testdom3[] |
| ^process[@b[] | #^testdom2[] |
| f | #^testdom1[] |
| ] | #^testdom0[] |
| ^b[]<BR> | OK |
| ^$t.a=$t.a<BR> | @testdom4[] |
| $dom[^dom::set[<?xml version="1.0" encoding="windows-1251"?> | |
| ^$request:uri=$request:uri<BR> | |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | <doc>testing ïðîâåðêà ÏÐÎÂÅÐÊÀ</doc> |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | ]] |
| $response:body[^dom.file[$.encoding[windows-1251]]] | |
| ^rem{ | |
| $response:body[] | @testdom3[] |
| $response:location[http://parser3/123] | $dom[^dom::load[test.xml]] |
| } | $dom[^dom.xslt[test.xsl;$.param1(48)]] |
| $dom[^dom.xslt[test.xsl;$.param1(48)]] | |
| <HR> | @testdom2[] |
| ^^auto_test[]:<BR> | $dom[^dom::load[test.xml]] |
| <ol> | #^dom.save[$.encoding[windows-1251];write.xml] |
| ^auto_test[] | #^dom.save[;write.xml] |
| </ol> | ^dom.save[$.encoding[windows-1251] $.method[xml];write.xml] |
| <HR> | ^dom.save[$.encoding[windows-1251] $.method[html];write.html] |
| ^dom.save[$.encoding[windows-1251] $.method[text];write.txt] | |
| ^${cookie:âîò}=${cookie:âîò}?<BR> | |
| ^$request:query=$request:query<BR> | @testdom1[] |
| ^$request:uri=$request:uri<BR> | $dom[^dom::load[test.xml]] |
| $dom[^dom.xslt[test.xsl;$.param1(48)]] | |
| <form method=post> | $response:body[^dom.file[$.encoding[windows-1251]]] |
| (^$form:name=$form:name)<BR> | |
| <input name=name value="^default[$form:name;íå çíàþ]"> | @testdom0[] |
| <input type=submit> | $dom[^dom::load[test.xml]] |
| </form> | ^dom.save[$.encoding[windows-1251];write.xml] |
| ^dom.string[$.encoding[windows-1251]] | |
| @default[test;def] | $ôàéë[^dom.file[$.encoding[windows-1251]]] |
| ^if(^test.length[]){$test}{$def} | ^ôàéë.save[binary;writefile.xml] |
| $response:body[$ôàéë] | |
| @exception[origin;source;comment;type;code] | OK |
| <body bgcolor=black> | |
| <font color=white> | |
| ERROR: | |
| ^if(def $source){$origin '$source'} | |
| ${comment}. | |
| ^if(def $type){type=$type} | |
| ^if(def $code){code=$code} | |
| @auto_test[] | |
| ^BASE.auto_test[] | |
| <li>$request:uri | |