At 12:49 pm -0800 17.12.2001, Gary L Peskin wrote:
You're initializing your Serializer with

  Serializer serializer = SerializerFactory.getSerializer
           (OutputProperties.getDefaultMethodProperties("html"));

which doesn't take into account the xsl:output element that's included
in poststylesheet.  Try ... doing

  Serializer serializer = SerializerFactory.getSerializer
           (posttransformer.getOutputProperties());

Please let us know what happens.

That fixed the problem. Thank you very much indeed.

I can't now remember why I used the 'getDefaultMethodProperties' - I think I hacked that in to solve another problem (which I'd created myself by not understanding XSLT/Xalan properly) and then forgot all about it.

Thanks again,

        Angus
--
[EMAIL PROTECTED]                             http://pobox.com/~angus

Reply via email to