--- parser3/src/www/htdocs/Attic/index.html 2001/07/25 12:53:52 1.243
+++ parser3/src/www/htdocs/Attic/index.html 2001/09/10 14:56:09 1.304
@@ -1,35 +1,17 @@
@main[]
-^connect[odbc://dsn=voz7^;uid=voz^;pwd=pwd]{
- $пресса[^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
-}]
-^$таблица.fields.a=$таблица.fields.a
-^$таблица.a=$таблица.a
-
-$n[]
-=^n.match[sdf][]{123}=
-
+#^testdom0[]
+^testdom1[]
-=$3=
-
+@testdom1[]
+$dom[^dom::load[test.xml]]
+$dom[^dom.xslt[test.xsl;$.param1(48)]]
+$response:body[^dom.file[windows-1251]]
-$строка[123]
-^строка.match[(.);g]{($match.1)}
-
-$a{
- $b[1]
-}
-^$b=$b
-^$a!$a
-^$b=$b
-
+@testdom0[]
+$dom[^dom::load[test.xml]]
+^dom.save[windows-1251;write.xml]
+^dom.string[windows-1251]
+$файл[^dom.file[windows-1251]]
+^файл.save[binary;writefile.xml]
+$response:body[$файл]
+OK
\ No newline at end of file