Ah, thanks! Switching to method="html" fixed the empty divs. That made sense.
However, I'm now getting some blank lines in the output when I use indent="yes" (and when I use indent="no" the tags tend to be crammed onto one line). That's not a big deal, as long as I can get my "tidy" template working. Of course, my "tidy" template requires me to pass the generated html as a node set, which brings me back to the node-set issue, but that's discussed in another topic...
Anyway, thanks again!
|