Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.511 and 1.523

version 1.511, 2001/12/24 10:00:05 version 1.523, 2002/01/15 13:18:43
Line 1 Line 1
 @auto[]  @auto[]
 $request:charset[windows-1251]  $request:charset[windows-1251]
 $response:charset[windows-1251]  $response:charset[windows-1251]
   $response:content-type[$.value[text/html]$.charset[$response:charset]]
   
 @main[]  @main[]
 ^mail3[]  #^xpath[]
   #^ttablesetlang[]
   #^mail3[]
 #^ttime[]  #^ttime[]
 #^tupper[]  #^tupper[]
 #^treplace[]  #^treplace[]
 #^xslt2[]  ^xslt2[]
 #^tcache2[]  #^tcache2[]
 #$ORIGINS(1)  #$ORIGINS(1)
 #$t[^table::set{a b} ^table::set{c d}]  #$t[^table::set{a b} ^table::set{c d}]
Line 84  $response:charset[windows-1251] Line 87  $response:charset[windows-1251]
 <hr>  <hr>
 OK  OK
   
   @xpath[]
   $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?>
   <document><block><p>привет</p></block></document>
   }]
   #^show-xdoc2[$xdoc]
   $node[^xdoc.selectSingle[/document/block/p]]
   ^if(def $node){
           ^if($node is string){
                   $node
           }{
           ^if($node is hash){
                   ^node._count[]
           }{
                   $node.nodeType
           }
           }
   #$node.firstChild.nodeValue
   }{
           node not found
   }
   
   
   @ttablesetlang[]
   $a-tab-b[a      b
   1       2]
   
   $t[^table::set{$a-tab-b}]
   =$t.a=
   <hr>
   
   $t[^table::set[nameless]{^taint[$a-tab-b]}]
   =$t.0=
   <hr>
   
   $t[^table::set{^untaint{^taint[$a-tab-b]}}]
   =$t.a=
   
   #^t.append{1    2}
   
 @mail3[]  @mail3[]
 ^mail:send[  ^mail:send[
         $.from[Александр Петросян <paf@design.ru>]          $.from[Александр Петросян <paf@design.ru>]
         $.to[Александр Петросян <paf@design.ru>]          $.to[Александр Петросян <paf@design.ru>]
         $.subject[проверка2]          $.subject[проверка4]
         $.body[          $.body[
                 $.text[                  $.text[
                         $.content-type[$.value[text/plain] $.charset[windows-1251]]                          $.content-type[$.value[text/plain] $.charset[windows-1251]]
                         $.body[проверка]                          $.body[проверка]
                 ]                  ]
                   $.attachment[
                           $.value[^file::load[text;index.html]]
                           $.file-name[привет всем.html]                   
                   ]
         ]          ]
 ]  ]
   
Line 128  $cache[^file:list[.;\.cache^$]] Line 174  $cache[^file:list[.;\.cache^$]]
   
 @xslt2[]  @xslt2[]
 $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?>  $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?>
 <document><block><p>hi</p></block></document>  <document><block><p>привет</p></block></document>
 }]  }]
 #^show-xdoc2[$xdoc]  ^show-xdoc2[$xdoc]
 ^show-xdoc2[^xdoc.transform[templates/_document.xslt]]  ^show-xdoc2[^xdoc.transform[templates/_document.xslt]]
 <hr>  <hr>
   
Line 195  $bred[^int::int[]] Line 241  $bred[^int::int[]]
   
 @xloadwrongtable[]  @xloadwrongtable[]
 $constr[^xdoc::load[wrongtable.xml]]  $constr[^xdoc::load[wrongtable.xml]]
   ^show-xdoc2[$constr]
   
 @xsetwrongtable[]  @xsetwrongtable[]
 $constr[^xdoc::set{<?xml version="1.0" encoding="windows-1251z" ?>  $constr[^xdoc::set{<?xml version="1.0" encoding="windows-1251z" ?>
Line 754  by id: Line 801  by id:
 }  }
   
 @show-xdoc2[xdoc]  @show-xdoc2[xdoc]
   ^rem{
 ^xdoc.save[out/save.xml;  ^xdoc.save[out/save.xml;
 #       $.encoding[windows-1251]  #       $.encoding[windows-1251]
         $.method[xml]          $.method[xml]
Line 763  $file[^xdoc.file[ Line 811  $file[^xdoc.file[
         $.method[html]          $.method[html]
 ]]  ]]
 ^file.save[text;out/save_file.html]  ^file.save[text;out/save_file.html]
   }
 #$response:body[^xdoc.file[     $.media-type[text/paf]  ]]  #$response:body[^xdoc.file[     $.media-type[text/paf]  ]]
 <pre>^taint[html][^xdoc.string[  <pre>^taint[html][^xdoc.string[
         $.method[html]  #       $.method[html]
 #       $.version[1.0]  #       $.encoding[utF-8]
 #       $.encoding[utf-8]  
 #       $.omit-xml-declaration[yes]  #       $.omit-xml-declaration[yes]
 #       $.standalone[yes]  #       $.standalone[no]
 #       $.doctype-public[-//W3C//DTD XHTML]  #       -$.doctype-public[-//W3C//DTD XHTML]
 #       $.doctype-system[/a/b/c/]  #       -$.doctype-system[/a/b/c/]
 #       $.indent[no]  #       $.indent[yes]
         $.media-type[text/paf]  #       $.media-type[text/paf]
 ]]  ]]
 </pre>  </pre>

Removed from v.1.511  
changed lines
  Added in v.1.523


E-mail: