I'm fairly sure that if you use a "real" identity stylesheet to create your transformer, with xsl:output set to HTML mode, you'll get the results you intended. You might want to try that approach, both as a probable workaround and to help isolate the problem.
(Many moons ago, there were some Issues with the built-in default transformation. It wasn't going through exactly the same code paths, and it had a few bugs that the real XSLT processor didn't. I thought we tracked those down, but I wouldn't be shocked if there's still a lurking horror or two.) ______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish ( http://www.ovff.org/pegasus/songs/threes-rev-11.html)