cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Marshall <ch...@campsbayterrace.com>
Subject Re: How to add Stylesheet to XML returned from server?
Date Wed, 08 Apr 2009 07:56:41 GMT
That would be a great help Sergey!
Thanks Chris


On 07/04/2009, Sergey Beryozkin <sberyozk@progress.com> wrote:
>
> Hi Chris
>
> it's great :-)
> that code though may get a bit brittle if other XML-aware providers are
> registered/found.
> I do like the idea of updating teh JAXBElementProvider to check the
> injected context for well-known marshaller properties
> such that the only thing you do is to
>
> message.put(XML_HEADERS, "<?xml-stylesheet type='text/xsl'>
> href=foobar.xsl'?>");
>
> cheers, Sergey
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message