--- parser3/src/www/htdocs/Attic/index.html 2002/01/25 11:22:52 1.538 +++ parser3/src/www/htdocs/Attic/index.html 2002/01/29 08:45:37 1.543 @@ -4,6 +4,11 @@ $response:charset[windows-1251] $response:content-type[$.value[text/html]$.charset[$response:charset]] @main[] +^xoutputrusattr[] +#^xdocset1[] +#^regexp3[] +#^exec2[] +#^tlock[] #^xmloutattrwithoutvalue[] #^precisionProblem[] #^xpath[] @@ -12,7 +17,7 @@ $response:content-type[$.value[text/html #^ttime[] #^tupper[] #^treplace[] -^xslt2[] +#^xslt2[] #^tcache2[] #$ORIGINS(1) #$t[^table::set{a b} ^table::set{c d}] @@ -89,6 +94,29 @@ $response:content-type[$.value[text/html
OK +@xoutputrusattr[] +$d[^xdoc::set{}] +^show_xdoc2[$d] + +@xdocset1[] +$d[^xdoc::set{=^taint[&]=}] +^show_xdoc2[$d] + +@regexp3[] +$s[abcАБВ] +^if(^s.match[][i]){y}{n} + + +@exec2[] +$a[^file::exec[bin/t.cmd]] +
^taint[$a.text]
|$a.status|$a.stderr
+ + +@tlock[] +^file:lock[lockfile]{ + code +} + @xmloutattrwithoutvalue[] #$ORIGINS(1) $doc[^xdoc::set{zz}] @@ -108,7 +136,7 @@ $b(^a.double[]) $xdoc[^xdoc::set{

привет

}] -#^show-xdoc2[$xdoc] +#^show_xdoc2[$xdoc] $node[^xdoc.selectSingle[/document/block/p]] ^if(def $node){ ^if($node is string){ @@ -193,8 +221,8 @@ $cache[^file:list[.;\.cache^$]] $xdoc[^xdoc::set{

привет

}] -^show-xdoc2[$xdoc] -^show-xdoc2[^xdoc.transform[templates/_document.xslt]] +^show_xdoc2[$xdoc] +^show_xdoc2[^xdoc.transform[templates/_document.xslt]]
@@ -258,7 +286,7 @@ $bred[^int::int[]] @xloadwrongtable[] $constr[^xdoc::load[wrongtable.xml]] -^show-xdoc2[$constr] +^show_xdoc2[$constr] @xsetwrongtable[] $constr[^xdoc::set{ @@ -389,7 +417,7 @@ $html[^file:list[.;\.html^$]] $dom_from_disk[^xdoc::load[input.xml]] $dom_created_in_air[^xdoc::create[doc]] ^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[] @@ -480,14 +508,14 @@ $text[^name.appendChild[^xdoc.createText #$paf.nodeName
#$doc.documentElement.nodeName
-^show-xnode1[$xdoc.documentElement;0;1] +^show_xnode1[$xdoc.documentElement;0;1]
-^show-xdoc2[$xdoc] +^show_xdoc2[$xdoc]
@domxslt[] ^domdata[] -^show-xdoc2[^xdoc.transform[global.xsl;$.param1[123/]]] +^show_xdoc2[^xdoc.transform[global.xsl;$.param1[123/]]]
@lsplit2[] @@ -674,7 +702,7 @@ $env:HTTP_COOKIE
@xslt[] ^xdata[] $transformed[^xdoc.transform[global.xsl;$.param1[123/]]] -^show-xdoc2[$transformed] +^show_xdoc2[$transformed] @regexp2[] $s[ select] @@ -762,17 +790,17 @@ $xdoc[^xdoc::set{^process{ -#^show-xnode1[$xdoc]
+^show_xdoc2[$xdoc]
+#^show_xnode1[$xdoc]
$people[^xdoc.select[*/man]] #^show1[] -^show-xnodes1[$people]
+^show_xnodes1[$people]
#^people.0.owner.hren[] -^show-xnode1[^xdoc.selectSingle[*/man[2]/name];0;1]
+^show_xnode1[^xdoc.selectSingle[*/man[2]/name];0;1]
by id: -^show-xnode1[^xdoc.getElementById[1];0;1] +^show_xnode1[^xdoc.getElementById[1];0;1]
@show1[array] @@ -786,12 +814,12 @@ by id:
} -@show-xnodes1[array][i] +@show_xnodes1[array][i] ^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){ ^for[l](0;$level-1){ ^; ^; ^; ^;} ^if($x.nodeType == $xnode:ELEMENT_NODE){ @@ -807,9 +835,9 @@ by id: } ^if(def $x.nodeValue){$x.nodeValue}
- ^show-xnode1[$x.firstChild]($level+1) + ^show_xnode1[$x.firstChild]($level+1) ^if(!$single){ - ^show-xnode1[$x.nextSibling]($level) + ^show_xnode1[$x.nextSibling]($level) } ^if($x.nodeType == $xnode:ELEMENT_NODE){ @@ -817,7 +845,7 @@ by id: } } -@show-xdoc2[xdoc] +@show_xdoc2[xdoc] ^xdoc.save[out/save.xml; # $.encoding[utf-8] $.method[xml]