Yes you can add a processing instruction see Marshaller#addProcessingInstruction.


Marshaller m = new Marshaller(myWriter);
m.setMapping(mapping);
m.addProcessingInstruction("xml-stylesheet", "...");
m.marshal(myObject);

--Keith

[EMAIL PROTECTED] wrote:

Hi

Is it possible to define the stylesheet when i make the marshal?


Bye




----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user

Reply via email to