Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.542.2.179 -r1.542.2.180 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 28 Jul 2024 17:00:04 -0000 1.542.2.179 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 28 Jul 2024 17:08:02 -0000 1.542.2.180 @@ -3467,7 +3467,7 @@ #:msg status=[$r set status] if {$status == 200} { #:msg data=$data - dom parse -html -simple -- $data doc + dom parse -html -- $data doc $doc documentElement root set n [$root selectNodes {//*[@id="result_box"]}] :msg "$text $from=>$to node '$n'" @@ -4271,7 +4271,7 @@ } Form proc disable_input_fields {{-with_submit 0} form} { - dom parse -html -simple -- $form doc + dom parse -html -- $form doc $doc documentElement root if {$root ne ""} { :dom_disable_input_fields -with_submit $with_submit $root @@ -5172,7 +5172,7 @@ lappend field_names $att } #ns_log notice "field_names_from_form: [:serialize]" - dom parse -html -simple -- $form doc + dom parse -html -- $form doc $doc documentElement root set fields [$root selectNodes "//*\[@name != ''\]"] foreach field $fields { @@ -5316,7 +5316,7 @@ {:form_field_as_html -mode display "\\\1" "\2" $form_fields}] # we parse the form just for the margin-form.... maybe regsub? - dom parse -html -simple -- $form :doc + dom parse -html -- $form :doc ${:doc} documentElement :root set form_node [lindex [${:root} selectNodes //form] 0]