Index: openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl,v
diff -u -r1.18 -r1.19
--- openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl 17 Mar 2003 02:35:06 -0000 1.18
+++ openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl 31 Mar 2003 12:59:09 -0000 1.19
@@ -17,7 +17,7 @@
} {
set value [apm_attribute_value $element $attribute]
if { [empty_string_p $value] } {
- error "Required attribute \"$attribute\" missing from <[ns_xml node name $element]>"
+ error "Required attribute \"$attribute\" missing from <[xml_node_get_name $element]>"
}
return $value
}
@@ -31,7 +31,7 @@
Parses the XML element to return the value for the specified attribute.
} {
- set value [ns_xml node get attr $element $attribute]
+ set value [xml_node_get_attribute $element $attribute]
if { [empty_string_p $value] } {
return $default
@@ -51,13 +51,13 @@
set node [lindex [xml_node_get_children_by_name $root $property_name] 0]
if { ![empty_string_p $node] } {
- set child [lindex [ns_xml node children $node] 0]
+ set child [lindex [xml_node_get_children $node] 0]
# JCD 20020914 ns_xml when given something like (i.e. empty content)
# will have the node but the node will not have a child node and the
# getcontent will then fail.
if { ![empty_string_p $child] } {
- return [ns_xml node get content $child]
+ return [xml_node_get_content $child]
}
}
return $default
@@ -132,6 +132,7 @@
}
append spec " "
append spec "\n \n"
+
apm_log APMDebug "APM: Writing parameters"
db_foreach parameter_info {} {
append spec "