Diff for /parser3/src/www/htdocs/Attic/index.html between versions 1.158 and 1.314

version 1.158, 2001/04/28 08:44:23 version 1.314, 2001/09/18 13:31:56
Line 1 Line 1
 @main[]  @main[]
 ^^table:dir[/]:<BR>  ^xslt[]
 $d[^table:dir[/]]  OK
 $d{^menu{$name &nbsp^;&nbsp^;&nbsp^;&nbsp^;^if(-f $name){-f} ^if(-d $name){-d};<BR>}}  
 <HR>  
   
   @xslt[]
   $dom[^dom::set{<?xml version="1.0" encoding="windows-1251"?>
   
 $files[^table:set{name}]  <people>
 ^d.menu{          <man id="1">
     ^if(-d "$d.name"){                  <name>PAF</name>
         ^files.append{$d.name}          </man>
     }          <man id="2">
                   <name>دبش</name>
           </man>
   </people>
   }]
   
   ^show-dnode[$dom]<hr>
   $people[^dom.xpath[*/man/*]]
   #^show1[]
   ^show-dnodes[$people]<hr>
   
   @show1[]
   ^for[i](0;^people._count[]-1){
       $node[$people.$i]
           $node.first-child.value: 
                   $pattributes[$node.parent.attributes]
                   ^if(^pattributes._count[]){
                           $pattributes.id.name=$pattributes.id.value
                   }
           <br>
   }
   
   @show-dnodes[array2]
   ^for[i](0;^array2._count[]-1){
           ^show-dnode[$array2.$i]
 }  }
 $files{^menu{$name}[,]}  
 <HR>  
   
 @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}  
   
 @auto_test[]  
 ^BASE.auto_test[]  
 <li>${request:uri}!  
   
   @show-dnode[dnode]
   [$dnode.type] $dnode.name ^if(def $dnode.value){'$dnode.value'}<br>
   ^if(def ${dnode.first-child}){^show-dnode[$dnode.first-child]}
   ^if(def ${dnode.next-sibling}){^show-dnode[$dnode.next-sibling]}

Removed from v.1.158  
changed lines
  Added in v.1.314


E-mail: