--- parser3/src/www/htdocs/Attic/index.html 2001/10/04 14:56:29 1.353
+++ parser3/src/www/htdocs/Attic/index.html 2001/10/05 17:33:50 1.362
@@ -1,4 +1,5 @@
@main[]
+#^regexp2[]
#^ttablerem[]
#^pcre[]
#^regexp[]
@@ -6,9 +7,26 @@
#^exec[]
#^fori[]
#^tconnect[]
-^xslt[]
+#^xslt[]
+^xml[]
+#^header[]
OK
+@xslt[]
+^xdata[]
+^show-xdoc2[^xdoc.transform[global.xsl]]
+
+@regexp2[]
+$s[ select]
+$s[^s.match[^^\s*][]{!}]
+$s
+
+@header[]
+$response:refresh[
+ $.value[0]
+ $.url[http://design.ru?a=^taint[123]]
+]
+
@ttablerem[]
$table[^table::load[a.cfg]]
^table.menu{$table.a}
@@ -53,21 +71,26 @@ $a.status|$a.stderr
@fori[][i]
^for[i](1;3){... =$i= ...}
-@xslt[]
+@xdata[]
#$response:content-type[$.value[text/html] $.charset[windows-1251]]
$xdoc[^xdoc::set{
#
-
- P«^;AFB
-
-
- ÏÈÔ
+ P«^;AF B
+ ^for[i](2;3){
+
+ ÏÈÔ$i
+
+ }
}]
+@xml[]
+^xdata[]
+
^show-xdoc2[$xdoc]
#^show-xnode1[$xdoc]
$people[^xdoc.select[*/man]]
@@ -105,7 +128,7 @@ by id:
$pairs[$x.attributes]
^if(def $pairs){
$names[^pairs._keys[]]
- ^names.menu{$names.key=$pairs.[$names.key].nodeValue }
+ ^names.menu{ $names.key="$pairs.[$names.key].nodeValue"}
}
>^;
}{
@@ -133,7 +156,7 @@ $file[^xdoc.file[
$.method[html]
]]
^file.save[text;save_file.html]
-^taint[^xdoc.string[]]
+^taint[^xdoc.string[]]
# $.encoding[windows-1251]
# $.method[xml]
#]]