You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Boris Garbuzov <bo...@borealissoft.com> on 2001/05/09 18:46:03 UTC

output format

The code below works differently in different environments. Being run
from stand-alone application it serialized fine. From the server it
throws NullPointerException. How should I form the Properties object for
output format?

        SerializerToXML serializer = new SerializerToXML();
        serializer.init (writer, null); // perhaps does not always work
        serializer.serialize (node);
        serializer.flush();