| @@ 1972-1973 (lines=2) @@ | ||
| 1969 | $link |
|
| 1970 | ); |
|
| 1971 | ||
| 1972 | if($child_buff) $buff .= sprintf('<node %s>%s</node>', $attribute, $child_buff); |
|
| 1973 | else $buff .= sprintf('<node %s />', $attribute); |
|
| 1974 | } |
|
| 1975 | return $buff; |
|
| 1976 | } |
|
| @@ 2025-2026 (lines=2) @@ | ||
| 2022 | $node->document_count |
|
| 2023 | ); |
|
| 2024 | ||
| 2025 | if($child_buff) $buff .= sprintf('<node %s>%s</node>', $attribute, $child_buff); |
|
| 2026 | else $buff .= sprintf('<node %s />', $attribute); |
|
| 2027 | } |
|
| 2028 | return $buff; |
|
| 2029 | } |
|