--- parser3/src/www/htdocs/Attic/index.html 2002/01/11 16:53:05 1.515.2.1 +++ parser3/src/www/htdocs/Attic/index.html 2002/01/14 17:48:58 1.522 @@ -4,8 +4,7 @@ $response:charset[windows-1251] $response:content-type[$.value[text/html]$.charset[$response:charset]] @main[] -^if(1 || ^error[here]){y}{n} -^if(0 && ^error[here]){y}{n} +#^xpath[] #^ttablesetlang[] #^mail3[] #^ttime[] @@ -88,6 +87,28 @@ $response:content-type[$.value[text/html
OK +@xpath[] +$xdoc[^xdoc::set{ +

привет

+}] +#^show-xdoc2[$xdoc] +$node[^xdoc.selectSingle[/document/block/p]] +^if(def $node){ + ^if($node is string){ + $node + }{ + ^if($node is hash){ + ^node._count[] + }{ + $node.nodeType + } + } +#$node.firstChild.nodeValue +}{ + node not found +} + + @ttablesetlang[] $a-tab-b[a b 1 2] @@ -153,9 +174,9 @@ $cache[^file:list[.;\.cache^$]] @xslt2[] $xdoc[^xdoc::set{ -

hi

+

привет

}] -#^show-xdoc2[$xdoc] +^show-xdoc2[$xdoc] ^show-xdoc2[^xdoc.transform[templates/_document.xslt]]
@@ -780,6 +801,7 @@ by id: } @show-xdoc2[xdoc] +^rem{ ^xdoc.save[out/save.xml; # $.encoding[windows-1251] $.method[xml] @@ -789,6 +811,7 @@ $file[^xdoc.file[ $.method[html] ]] ^file.save[text;out/save_file.html] +} #$response:body[^xdoc.file[ $.media-type[text/paf] ]]
^taint[html][^xdoc.string[
 	$.method[html]