wordpress wp_list_categories

Hi @matt ryan:

Simplest way to do what you want is to use PHP output buffering. I haven’t tested it yet but this should work:

ob_start();
wp_list_categories( $args );
$html = ob_get_clean();
echo str_replace(get_bloginfo('wpurl'),'',$html);

UPDATE

You could also using the 'wp_list_categories' hook like this:

add_action('wp_list_categories','mysite_wp_list_categories');
function mysite_wp_list_categories( $output ) {
  return str_replace( get_bloginfo('wpurl'),'', $output );
}