+ function getSourceAttrs ()
+ {
+ $ret = "" ;
+ foreach ($this->children as $child)
+ {
+ if ( !is_string($child) AND $child->name == "ATTRS" )
+ {
+ $ret = $child->makeXHTML ( $parser );
+ }
+ }
+ return $ret ;
+ }
+
+ function getTheseAttrs ()
+ {
+ $ret = array() ;
+ foreach ($this->children as $child)
+ {
+ if ( !is_string($child) AND $child->name == "ATTR" )
+ {
+ $s = $child->attrs["NAME"] . "='" . $child->children[0] . "'" ;
+# $s = "ATTRIBUTE=" . $child->attrs["NAME"] ;
+ $ret[] = $s ;
+ }
+ }
+ return implode ( " " , $ret ) ;
+ }
+