users@jaxb.java.net

Re: Appending processing instructions

From: Kasia Trapszo <kasia_at_trapszo.com>
Date: Thu, 14 Sep 2006 06:46:09 -0400

On Sep 13, 2006, at 6:54 PM, Kohsuke Kawaguchi wrote:

>
> True. The only hesitation I have is that this is the only time I
> need to produce PI, and there are other things people will want to
> produce, like comment, DOCTYPE decl, etc.
>

Why not allow it as a property on the marshaller or something? I can
see your concern though.


> If you are feeding this into XSLT, wouldn't it be easier to just
> use XSLT to generate the PI?
>

Yes, that's one route, but it's just easier to keep all this together.

k.

> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com