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

version 1.25, 2001/03/19 23:13:00 version 1.314, 2001/09/18 13:31:56
Line 1 Line 1
 $request:uri  @main[]
 <form method=post enctype=multipart/form-data>  ^xslt[]
 <input name=photo type=file>  OK
 <input type=submit>  
 </form>  @xslt[]
 <hr>  $dom[^dom::set{<?xml version="1.0" encoding="windows-1251"?>
 ^if($form:photo){  
         <pre>  <people>
         ^$form:photo.name='$form:photo.name'          <man id="1">
         ^$form:photo.size='$form:photo.size'                  <name>PAF</name>
         ^$form:photo.text='$form:photo.text'          </man>
         ^form:photo.save{paf.txt}          <man id="2">
         </pre>                  <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]
   }
   
   @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.25  
changed lines
  Added in v.1.314


E-mail: