You are supposed to have two different XSLT stylesheets for differnt output aren't you? That should be similar to using two different templates. At least, that is how I can provide the same XML output in HTML and RSS (or will when I get around to it.)