Annotation of parser3/src/www/htdocs/index.html, revision 1.364

1.364   ! parser      1: @main[]
        !             2: #^regexp2[]
        !             3: #^ttablerem[]
        !             4: #^pcre[]
        !             5: #^regexp[]<hr>
        !             6: #^mail[]
        !             7: #^exec[]
        !             8: #^fori[]
        !             9: #^tconnect[]
        !            10: ^xslt[]
        !            11: #^xml[]
        !            12: #^header[]
        !            13: OK
        !            14: 
        !            15: @xslt[]
        !            16: ^xdata[]
        !            17: ^show-xdoc2[^xdoc.transform[global.xsl]]
        !            18: 
        !            19: @regexp2[]
        !            20: $s[  select]
        !            21: $s[^s.match[^^\s*][]{!}]
        !            22: $s
        !            23: 
        !            24: @header[]
        !            25: $response:refresh[
        !            26:        $.value[0]
        !            27:        $.url[http://design.ru?a=^taint[123]]
        !            28: ]
        !            29: 
        !            30: @ttablerem[]
        !            31: $table[^table::load[a.cfg]]
        !            32: ^table.menu{$table.a}
        !            33: 
        !            34: @tconnect[]
        !            35: ^connect[mysql://test:test@paf/test?charset=cp1251_koi8&compress=1&timeout=1&named_pipe=1]{
        !            36: $tables[^table::sql{show tables}]
        !            37: #$cols[^tables.columns[]]
        !            38: #$cols.column
        !            39: ^tables.menu{
        !            40:        $tables.[Tables_in_test]<br>
        !            41: }
        !            42: }
        !            43: 
        !            44: @pcre[]
        !            45: $s[1 2]
        !            46: ^s.match[\s;ig]{!}
        !            47: #^s.match[\d;ig]{!}
        !            48: 
        !            49: 
        !            50: @regexp[]
        !            51: $s[abcÀÁÂ]
        !            52: ^if(^s.match[á][i]){y}{n}
        !            53: 
        !            54: @mail[]
        !            55: #$ORIGINS(1)
        !            56: ^mail:send[
        !            57:        $.from[paf@design.ru]
        !            58:        $.to[paf@design.ru]
        !            59:        $.body[1
        !            60:        
        !            61:        2
        !            62:        
        !            63:        
        !            64:                3]
        !            65: ]
        !            66: 
        !            67: @exec[]
        !            68: $a[^file::exec[fc.exe;a;b]]
        !            69: $a.status|$a.stderr<hr>
        !            70: 
        !            71: @fori[][i]
        !            72: ^for[i](1;3){... =$i= ...}
        !            73: 
        !            74: @xdata[]
        !            75: #$response:content-type[$.value[text/html] $.charset[windows-1251]]
        !            76: $xdoc[^xdoc::load[input.xml]]
        !            77: 
        !            78: @xml[]
        !            79: ^xdata[]
        !            80: 
        !            81: ^show-xdoc2[$xdoc]<hr>
        !            82: #^show-xnode1[$xdoc]<hr>
        !            83: $people[^xdoc.select[*/man]]
        !            84: #^show1[]
        !            85: ^show-xnodes1[$people]<hr>
        !            86: #^people.0.owner.hren[]
        !            87: 
        !            88: ^show-xnode1[^xdoc.select-single[*/man[2]/name];0;1]<hr>
        !            89: 
        !            90: by id:
        !            91: ^show-xnode1[^xdoc.getElementById[1];0;1]
        !            92: <hr>
        !            93: 
        !            94: @show1[array]
        !            95: ^for[i](0;^array._count[]-1){
        !            96:     $x[$array.$i]
        !            97:        $x.firstChild.nodeValue: 
        !            98:                $pattributes[$x.parentNode.attributes]
        !            99:                ^if(^pattributes._count[]){
        !           100:                        $pattributes.id.name=$pattributes.id.nodeValue
        !           101:                }
        !           102:        <br>
        !           103: }
        !           104:        
        !           105: @show-xnodes1[array][i]
        !           106: ^for[i](0;^array._count[]-1){
        !           107:        ^show-xnode1[$array.$i;0;1]
        !           108: }
        !           109: 
        !           110: @show-xnode1[x;level;single][l]
        !           111: ^if(def $x){
        !           112:     ^for[l](0;$level-1){&nbsp^;&nbsp^;&nbsp^;&nbsp^;}
        !           113:     ^if($x.nodeType == $xnode:ELEMENT_NODE){
        !           114:        &lt^;$x.nodeName
        !           115:            $pairs[$x.attributes]
        !           116:            ^if(def $pairs){
        !           117:                $names[^pairs._keys[]]
        !           118:                ^names.menu{ $names.key="$pairs.[$names.key].nodeValue"}
        !           119:            }
        !           120:            &gt^;
        !           121:     }{
        !           122:        [$x.nodeType]
        !           123:     }
        !           124:     
        !           125:     ^if(def $x.nodeValue){$x.nodeValue}<br>
        !           126:     ^show-xnode1[$x.firstChild]($level+1)
        !           127:     ^if(!$single){
        !           128:            ^show-xnode1[$x.nextSibling]($level)
        !           129:     }
        !           130: 
        !           131:     ^if($x.nodeType == $xnode:ELEMENT_NODE){
        !           132:     ^for[l](0;$level-1){&nbsp^;&nbsp^;&nbsp^;&nbsp^;}&lt^;/$x.nodeName&gt^;<br>
        !           133:     }
        !           134: }
        !           135: 
        !           136: @show-xdoc2[xdoc]
        !           137: ^xdoc.save[save.xml;
        !           138: #      $.encoding[windows-1251]
        !           139:        $.method[xml]
        !           140: ]
        !           141: $file[^xdoc.file[
        !           142: #      $.encoding[windows-1251]
        !           143:        $.method[html]
        !           144: ]]
        !           145: ^file.save[text;save_file.html]
        !           146: <pre>^taint[^xdoc.string[]]</pre>
        !           147: #      $.encoding[windows-1251]
        !           148: #      $.method[xml]
        !           149: #]]

E-mail: