--- parser3/src/www/htdocs/Attic/index.html 2001/06/29 08:35:26 1.211 +++ parser3/src/www/htdocs/Attic/index.html 2001/09/18 13:31:56 1.314 @@ -1,51 +1,42 @@ -@auto[] -$form_id[19] -$branch_id[] - @main[] -$SQL.connect-string[mysql://intranet:pwd@moko/intranet/cp1251_koi8] -^connect[$SQL.connect-string]{ -^content[] -} +^xslt[] +OK -@heading[] -^if(def $form_id){Изменение}{Добавление} документа +@xslt[] +$dom[^dom::set{ -@help[] -article_help.html + + + PAF + + + ПИФ + + +}] -@content[] -$branches[^table:sql{select id, name from kb_branches}] -^if(def $form_id){ - $article[^table:sql{select id, name, txt, keywords, kb_branches_id from kb_documents where id='$form_id'}] - $branch_id[$:article.kb_branches_id] -}{ - $branch_id[$branch_id] -} +^show-dnode[$dom]
+$people[^dom.xpath[*/man/*]] +#^show1[] +^show-dnodes[$people]
-
-

Рубрика:
- - -

Название:
- - -

Текст:
- - -

Ключевые слова:
- - - -

- -# -# ^if(def $form_id){} -
^submit[save]^submit[delete]
-

+
+} + +@show-dnodes[array2] +^for[i](0;^array2._count[]-1){ + ^show-dnode[$array2.$i] +} + +@show-dnode[dnode] +[$dnode.type] $dnode.name ^if(def $dnode.value){'$dnode.value'}
+^if(def ${dnode.first-child}){^show-dnode[$dnode.first-child]} +^if(def ${dnode.next-sibling}){^show-dnode[$dnode.next-sibling]}