| @@ 1953-1954 (lines=2) @@ | ||
| 1950 | $link |
|
| 1951 | ); |
|
| 1952 | ||
| 1953 | if($child_buff) $buff .= sprintf('<node %s>%s</node>', $attribute, $child_buff); |
|
| 1954 | else $buff .= sprintf('<node %s />', $attribute); |
|
| 1955 | } |
|
| 1956 | return $buff; |
|
| 1957 | } |
|
| @@ 2013-2014 (lines=2) @@ | ||
| 2010 | $node->document_count |
|
| 2011 | ); |
|
| 2012 | ||
| 2013 | if($child_buff) $buff .= sprintf('<node %s>%s</node>', $attribute, $child_buff); |
|
| 2014 | else $buff .= sprintf('<node %s />', $attribute); |
|
| 2015 | } |
|
| 2016 | return $buff; |
|
| 2017 | } |
|