Thanks--this was an embarrassing brain fart--forgot to put it into a method. I'm actually planning on calling the resulting method from a class with a main() method elsewhere; the Stdout routine is part of the larger package this belongs to.
Morning came much too soon and it brought along a friend named Margarita Hangover, and a tiny ad.
ScroogeXHTML 9.4 - fast RTF to HTML and XHTML conversion