Hi,
> > As Ozgur mentioned we use the Xerces Serializers. You can try to
> > configure your own Serializer and simply pass it as a DocumentHandler to
> > the Marshaller.
> >
> > Or maybe you can encode the signature in base64 before marshalling.
I took Keith's suggestion and configured a whitespace-preserving serializer
in an attempt to marshal an XML document that I expected to look like the
document
I unmarshalled. Unfortunately, most of the whitespace was gone and I
ended up with a document that, when viewed in an editor, consisted of a
single line. I'm probably missing something obvious here, but isn't it a
typical
use case to unmarshal a document, fiddle some nodes, remarshal it and end
up with essentially what you started? There's a simple Castor example that
does this and the final document is without whitespace. I guess I could use
a stylesheet but was hoping to do the job within Castor. Suggestions?
Very cool product, btw. I got mine through JBuilder and, if I can resolve
this whitespace issue, will most definitely be using it.
Thanks, Garry
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev