wxr_cat_name( $c );
wxr_category_description( $c );
wxr_term_meta( $c );
?>
</wp:category>
<?php
endforeach; ?>
<?php
foreach ( $tags as $t ) : ?>
<wp:tag>
<wp:term_id><?php
echo (int) $t->term_id; ?></wp:term_id>
<wp:tag_slug><?php
echo wxr_cdata( $t->slug
); ?></wp:tag_slug>
<?php
wxr_tag_name( $t );
wxr_tag_description( $t );
wxr_term_meta( $t );
?>
</wp:tag>
<?php
endforeach; ?>
<?php
foreach ( $terms as $t ) : ?>
<wp:term>
<wp:term_id><?php
echo (int) $t->term_id; ?></wp:term_id>
<wp:term_taxonomy><?php
echo wxr_cdata( $t->taxonomy
); ?></wp:term_taxonomy>
<wp:term_slug><?php
echo wxr_cdata( $t->slug
); ?></wp:term_slug>
<wp:term_parent><?php
echo wxr_cdata( $t->parent ?
$terms[ $t->parent
]->slug : ''
); ?></wp:term_parent>