Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.159 and 1.307

version 1.159, 2001/04/28 09:14:55 version 1.307, 2001/09/11 08:43:39
Line 1 Line 1
 @main[]  @main[]
 ^^table:dir[/]:<BR>  ^testdom3[]
 $d[^table:dir[/]]  #^testdom2[]
 $d{^menu{$name &nbsp^;&nbsp^;&nbsp^;&nbsp^;^if(-f $name){-f} ^if(-d $name){-d};<BR>}}  #^testdom1[]
 <HR>  #^testdom0[]
   OK
   
 $files[^table:set{name}]  @testdom3[]
 $d{^menu{  $dom[^dom::load[test.xml]]
     ^if(-d "$name"){  $dom[^dom.xslt[test.xsl;$.param1(48)]]
         ^:files.append{$name}  $dom[^dom.xslt[test.xsl;$.param1(48)]]
     }  
 }}  
   
 $files{^menu{$name}[,]}  @testdom2[]
 <HR>  $dom[^dom::load[test.xml]]
   #^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]
   ^dom.save[$.encoding[windows-1251] $.method[text];write.txt]
   
 @exception[origin;source;comment;type;code][i;j]  @testdom1[]
 <body bgcolor=black>  $dom[^dom::load[test.xml]]
 <font color=white>  $dom[^dom.xslt[test.xsl;$.param1(48)]]
 ERROR:  $response:body[^dom.file[windows-1251]]
 ^if(def $source){$origin '$source'}  
 ${comment}.  
 ^if(def $type){type=$type}  
 ^if(def $code){code=$code}  
   
 @auto_test[]  
 ^BASE.auto_test[]  
 <li>${request:uri}!  
   
   @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
   

Removed from v.1.159  
changed lines
  Added in v.1.307


E-mail: