Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.531 and 1.542

version 1.531, 2002/01/22 09:27:02 version 1.542, 2002/01/28 08:20:33
Line 4  $response:charset[windows-1251] Line 4  $response:charset[windows-1251]
 $response:content-type[$.value[text/html]$.charset[$response:charset]]  $response:content-type[$.value[text/html]$.charset[$response:charset]]
   
 @main[]  @main[]
 $square[^image::create(100;100;0x000000)]  ^xdocset1[]
 ^square.arc(50;50;40;60;-900;360;0xFFFFFF)  #^regexp3[]
 $response:body[^square.gif[]]  #^exec2[]
     #^tlock[]
   #^xmloutattrwithoutvalue[]
   #^precisionProblem[]
 #^xpath[]  #^xpath[]
 #^ttablesetlang[]  #^ttablesetlang[]
 #^mail3[]  #^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 92  $response:body[^square.gif[]] Line 93  $response:body[^square.gif[]]
 <hr>  <hr>
 OK  OK
   
   @xdocset1[]
   $d[^xdoc::set{<?xml version="1.0"?><d>=^taint[&]=</d>}]
   ^show_xdoc2[$d]
   
   @regexp3[]
   $s[abcАБВ]
   ^if(^s.match[][i]){y}{n}
   
   
   @exec2[]
   $a[^file::exec[bin/t.cmd]]
   <pre>^taint[$a.text]</pre>|$a.status|$a.stderr<hr>
   
   
   @tlock[]
   ^file:lock[lockfile]{
           code
   }
   
   @xmloutattrwithoutvalue[]
   #$ORIGINS(1)
   $doc[^xdoc::set{<?xml version="1.0"?><doc background="">zz</doc>}]
   $doc[^doc.transform[global.xsl]]
   =^taint[html][^doc.string[$.method[html]]]=
   
   
   
   @precisionProblem[]
   $a[123456789012345678901234567890]
   $b(^a.double[])
   ^b.format{%.20E}
   <hr>
   ^eval(2*2)
   
 @xpath[]  @xpath[]
 $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?>  $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?>
 <document><block><p>привет</p></block></document>  <document><block><p>привет</p></block></document>
 }]  }]
 #^show-xdoc2[$xdoc]  #^show_xdoc2[$xdoc]
 $node[^xdoc.selectSingle[/document/block/p]]  $node[^xdoc.selectSingle[/document/block/p]]
 ^if(def $node){  ^if(def $node){
         ^if($node is string){          ^if($node is string){
Line 181  $cache[^file:list[.;\.cache^$]] Line 216  $cache[^file:list[.;\.cache^$]]
 $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?>  $xdoc[^xdoc::set{<?xml version="1.0" encoding="windows-1251" ?>
 <document><block><p>привет</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 246  $bred[^int::int[]] Line 281  $bred[^int::int[]]
   
 @xloadwrongtable[]  @xloadwrongtable[]
 $constr[^xdoc::load[wrongtable.xml]]  $constr[^xdoc::load[wrongtable.xml]]
 ^show-xdoc2[$constr]  ^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 377  $html[^file:list[.;\.html^$]] Line 412  $html[^file:list[.;\.html^$]]
 $dom_from_disk[^xdoc::load[input.xml]]  $dom_from_disk[^xdoc::load[input.xml]]
 $dom_created_in_air[^xdoc::create[doc]]  $dom_created_in_air[^xdoc::create[doc]]
 ^dom_created_in_air.documentElement.appendChild[^dom_from_disk.documentElement.cloneNode(1)]  ^dom_created_in_air.documentElement.appendChild[^dom_from_disk.documentElement.cloneNode(1)]
 ^show-xdoc2[$dom_created_in_air]  ^show_xdoc2[$dom_created_in_air]
   
   
 @tcache[]  @tcache[]
Line 468  $text[^name.appendChild[^xdoc.createText Line 503  $text[^name.appendChild[^xdoc.createText
 #$paf.nodeName<br>  #$paf.nodeName<br>
 #$doc.documentElement.nodeName<br>  #$doc.documentElement.nodeName<br>
   
 ^show-xnode1[$xdoc.documentElement;0;1]  ^show_xnode1[$xdoc.documentElement;0;1]
 <hr>  <hr>
 ^show-xdoc2[$xdoc]  ^show_xdoc2[$xdoc]
 <hr>  <hr>
   
 @domxslt[]  @domxslt[]
 ^domdata[]  ^domdata[]
 ^show-xdoc2[^xdoc.transform[global.xsl;$.param1[123/]]]  ^show_xdoc2[^xdoc.transform[global.xsl;$.param1[123/]]]
 <hr>  <hr>
   
 @lsplit2[]  @lsplit2[]
Line 662  $env:HTTP_COOKIE<br> Line 697  $env:HTTP_COOKIE<br>
 @xslt[]  @xslt[]
 ^xdata[]  ^xdata[]
 $transformed[^xdoc.transform[global.xsl;$.param1[123/]]]  $transformed[^xdoc.transform[global.xsl;$.param1[123/]]]
 ^show-xdoc2[$transformed]  ^show_xdoc2[$transformed]
   
 @regexp2[]  @regexp2[]
 $s[  select]  $s[  select]
Line 750  $xdoc[^xdoc::set{^process{<?xml version= Line 785  $xdoc[^xdoc::set{^process{<?xml version=
 @xml[]  @xml[]
 ^xdata[]  ^xdata[]
   
 ^show-xdoc2[$xdoc]<hr>  ^show_xdoc2[$xdoc]<hr>
 #^show-xnode1[$xdoc]<hr>  #^show_xnode1[$xdoc]<hr>
 $people[^xdoc.select[*/man]]  $people[^xdoc.select[*/man]]
 #^show1[]  #^show1[]
 ^show-xnodes1[$people]<hr>  ^show_xnodes1[$people]<hr>
 #^people.0.owner.hren[]  #^people.0.owner.hren[]
   
 ^show-xnode1[^xdoc.selectSingle[*/man[2]/name];0;1]<hr>  ^show_xnode1[^xdoc.selectSingle[*/man[2]/name];0;1]<hr>
   
 by id:  by id:
 ^show-xnode1[^xdoc.getElementById[1];0;1]  ^show_xnode1[^xdoc.getElementById[1];0;1]
 <hr>  <hr>
   
 @show1[array]  @show1[array]
Line 774  by id: Line 809  by id:
         <br>          <br>
 }  }
                   
 @show-xnodes1[array][i]  @show_xnodes1[array][i]
 ^for[i](0;^array._count[]-1){  ^for[i](0;^array._count[]-1){
         ^show-xnode1[$array.$i;0;1]          ^show_xnode1[$array.$i;0;1]
 }  }
   
 @show-xnode1[x;level;single][l]  @show_xnode1[x;level;single][l]
 ^if(def $x){  ^if(def $x){
     ^for[l](0;$level-1){&nbsp^;&nbsp^;&nbsp^;&nbsp^;}      ^for[l](0;$level-1){&nbsp^;&nbsp^;&nbsp^;&nbsp^;}
     ^if($x.nodeType == $xnode:ELEMENT_NODE){      ^if($x.nodeType == $xnode:ELEMENT_NODE){
Line 795  by id: Line 830  by id:
     }      }
           
     ^if(def $x.nodeValue){$x.nodeValue}<br>      ^if(def $x.nodeValue){$x.nodeValue}<br>
     ^show-xnode1[$x.firstChild]($level+1)      ^show_xnode1[$x.firstChild]($level+1)
     ^if(!$single){      ^if(!$single){
             ^show-xnode1[$x.nextSibling]($level)              ^show_xnode1[$x.nextSibling]($level)
     }      }
   
     ^if($x.nodeType == $xnode:ELEMENT_NODE){      ^if($x.nodeType == $xnode:ELEMENT_NODE){
Line 805  by id: Line 840  by id:
     }      }
 }  }
   
 @show-xdoc2[xdoc]  @show_xdoc2[xdoc]
 ^xdoc.save[out/save.xml;  ^xdoc.save[out/save.xml;
 #       $.encoding[utf-8]  #       $.encoding[utf-8]
         $.method[xml]          $.method[xml]

Removed from v.1.531  
changed lines
  Added in v.1.542


E-mail: