Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.246 and 1.308

version 1.246, 2001/07/26 12:25:37 version 1.308, 2001/09/11 08:49:22
Line 1 Line 1
 @main[]  @main[]
 ^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{  #^testdom3[]
 #    ^void::sql{insert into хрен (a) values (1)}  #^testdom2[]
         $id(^int:sql{select 5})  #^testdom1[]
         $id  ^testdom0[]
   OK
   
         $пресса[^table::sql{select * from press where header='$form:h'}]  @testdom3[]
         ^пресса.menu{  $dom[^dom::load[test.xml]]
                 $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode  $dom[^dom.xslt[test.xsl;$.param1(48)]]
         }[<br>]  $dom[^dom.xslt[test.xsl;$.param1(48)]]
 }  
 <hr>  
 #$response:status[404]  
 #$response:location[/inh.html]  
 #<hr>  
 $таблица[^table::set{a  b  
 1       2  
 11      22  
 }]  
 ^$таблица.fields.a=$таблица.fields.a<br>  
 ^$таблица.a=$таблица.a<br>  
 <hr>  
 $n[]  
 =^n.match[sdf][]{123}=  
 <hr>  
   
 =$3=  @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]
   
 $строка[123]  @testdom1[]
 ^строка.match[(.);g]{($match.1)}  $dom[^dom::load[test.xml]]
 <hr>  $dom[^dom.xslt[test.xsl;$.param1(48)]]
 $a{  $response:body[^dom.file[windows-1251]]
         $b[1]  
 }  @testdom0[]
 ^$b=$b<br>  $dom[^dom::load[test.xml]]
 ^$a!$a<br>  ^dom.save[$.encoding[windows-1251];write.xml]
 ^$b=$b<br>  ^dom.string[$.encoding[windows-1251]]
 <hr>  $файл[^dom.file[$.encoding[windows-1251]]]
   ^файл.save[binary;writefile.xml]
   $response:body[$файл]
   OK
   

Removed from v.1.246  
changed lines
  Added in v.1.308


E-mail: