users@jersey.java.net

Re: [Jersey] http and xml on the same path

From: Jo Størset <jo.storset_at_usit.uio.no>
Date: Thu, 15 May 2008 16:38:21 +0200

Den 15. mai. 2008 kl. 15.32 skrev Mike Jones:

> How about just adding a xml-stylesheet PI to the XML?

Actually, that was what i tried first.

Apart from loosing support for non xsl-supporting clients, I couldn't
figure out how I can cleanly add PI's to the otherwise default JAXB
based xml generation.

Is there an easy way of overriding the default JAXB-based xml
serializer with one also able to add style sheet PIs?

Jo