|
|
| version 1.41, 2001/03/23 13:27:56 | version 1.308, 2001/09/11 08:49:22 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| #^testdom3[] | |
| $t[^table:load[/test.cfg]] | #^testdom2[] |
| ^$t.a=$t.a<BR> | #^testdom1[] |
| ^testdom0[] | |
| ^$env:REQUEST_URI=$env:REQUEST_URI<BR> | OK |
| ^$env:PATH_INFO=$env:PATH_INFO<BR> | |
| @testdom3[] | |
| $dom[^dom::load[test.xml]] | |
| ^$env:REMOTE_ADDR=$env:REMOTE_ADDR<BR> | $dom[^dom.xslt[test.xsl;$.param1(48)]] |
| ^$env:REQUEST_URI=$env:REQUEST_URI<BR> | $dom[^dom.xslt[test.xsl;$.param1(48)]] |
| ^rem{ | @testdom2[] |
| $response:body[] | $dom[^dom::load[test.xml]] |
| $response:location[http://parser3/123] | #^dom.save[$.encoding[windows-1251];write.xml] |
| } | #^dom.save[;write.xml] |
| ^dom.save[$.encoding[windows-1251] $.method[xml];write.xml] | |
| ^dom.save[$.encoding[windows-1251] $.method[html];write.html] | |
| ^$root_test=$root_test !<BR> | ^dom.save[$.encoding[windows-1251] $.method[text];write.txt] |
| ^$site_test=$site_test !<BR> | |
| ^${cookie:גמע}=${cookie:גמע}?<BR> | @testdom1[] |
| ^$request:query=$request:query<BR> | $dom[^dom::load[test.xml]] |
| ^$request:uri=$request:uri<BR> | $dom[^dom.xslt[test.xsl;$.param1(48)]] |
| $response:body[^dom.file[windows-1251]] | |
| <form method=post> | |
| (^$form:name=$form:name)<BR> | @testdom0[] |
| <input name=name value="^default[$form:name;םו חםא]"> | $dom[^dom::load[test.xml]] |
| <input type=submit> | ^dom.save[$.encoding[windows-1251];write.xml] |
| </form> | ^dom.string[$.encoding[windows-1251]] |
| $פאיכ[^dom.file[$.encoding[windows-1251]]] | |
| @default[test;def] | ^פאיכ.save[binary;writefile.xml] |
| ^if(^test.length[]){$test}{$def} | $response:body[$פאיכ] |
| OK | |
| @exception[origin;source;comment;type;code] | |
| <body bgcolor=black> | |
| <font color=white> | |
| ERROR: | |
| ^if(def $source){$origin '$source'} | |
| ${comment}. | |
| ^if(def $type){type=$type} | |
| ^if(def $code){code=$code} | |