--- parser3/src/www/htdocs/Attic/index.html 2001/07/30 15:32:42 1.249
+++ parser3/src/www/htdocs/Attic/index.html 2001/09/17 16:49:15 1.313
@@ -1,57 +1,22 @@
@main[]
-^connect[pgsql://paf:paf123@six/paf]{
-# ^void::sql{insert into хрен (a) values (1)}
- $id(^int:sql{select 2*2})
- $id
+^xslt[]
- $пресса[^table::sql{select * from aaa}]
-# $a[^пресса.columns[]]^a.menu{$a.column}
- ^пресса.menu{
- $пресса.val
- }[
]
-}
-
-#$cookie:reg0[8reg0]
-#$cookie:reg1[8reg1]
-$cookie:reg0
-$cookie:reg1
-
-
-^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{
-# ^void::sql{insert into хрен (a) values (1)}
- $id(^int:sql{select 5})
- $id
+@xslt[]
+$dom[^dom::set{
- $пресса[^table::sql{select * from press where header='$form:h'}]
- ^пресса.menu{
- $пресса.id, $пресса.date_row, $пресса.header, $пресса.short_text^rem{, $пресса.full_text}, $пресса.mode
- }[
]
-}
-
-#$response:status[404]
-#$response:location[/inh.html]
-#
-$таблица[^table::set{a b
-1 2
-11 22
+
+
+ PAF
+
+
+ ПИФ
+
+
}]
-^$таблица.fields.a=$таблица.fields.a
-^$таблица.a=$таблица.a
-
-$n[z]
-=^n.match[sdf][]{123}=
-
-=$3=
-
+$people[^dom.xpath[/people/man/name]]
-$строка[123]
-^строка.match[(.);g]{($match.1)}
-
-$a{
- $b[1]
+^for[i](0;^people._count[]-1){
+ z$people.$i.first-child.value
}
-^$b=$b
-^$a!$a
-^$b=$b
-
+OK
\ No newline at end of file