Re: [castor-dev] XSLT qu: how can Castor generate an xml-stylesheet PI in the beginning of marshalling an object?

2002-02-11 Thread Keith Visco
ks, --Keith > > -Original Message- > From: Keith Visco [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 08, 2002 10:34 PM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] XSLT qu: how can Castor generate an > xml-stylesheet PI in the beginning of marshalling an

Re: [castor-dev] XSLT qu: how can Castor generate an xml-stylesheet PI in the beginning of marshalling an object?

2002-02-11 Thread Stephen Tsun
that be official? thanks steve -Original Message- From: Keith Visco [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 10:34 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] XSLT qu: how can Castor generate an xml-stylesheet PI in the beginning of marshalling an object? If you

Re: [castor-dev] XSLT qu: how can Castor generate an xml-stylesheet PI in the beginning of marshalling an object?

2002-02-08 Thread Keith Visco
If you use the latest CVS version you can do the following: myMarshaller.addProcessingInstruction("xml-stylesheet", "href='my.xsl' type='text/xsl'"); Or you can use the solution that Arnaud proposed earlier. Thanks, --Keith Stephen Tsun wrote: > > hi: > > Say I have a java object I would