@@ 2009-2010 (lines=2) @@ | ||
2006 | $node->document_count |
|
2007 | ); |
|
2008 | ||
2009 | if($child_buff) $buff .= sprintf('<node %s>%s</node>', $attribute, $child_buff); |
|
2010 | else $buff .= sprintf('<node %s />', $attribute); |
|
2011 | } |
|
2012 | return $buff; |
|
2013 | } |
@@ 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 | } |