users@jersey.java.net

[Jersey] Re: Add stylesheet to JAXB model?

From: Casper Bang <casper.bang_at_gmail.com>
Date: Tue, 15 Mar 2011 16:17:08 +0100

I have been playing with the XmlHeader, a few notes for the archive.

1) Had to checkout and build my own SNAPSHOT, doesn't look as if artifact
was deployed.
2) Works in MSIE, Firefox and Chrome > 11.0.696.3 dev.
3) text/css is applied perfectly as expected, making it easy to style
elements/attributes.
4) text/xsl can be used to provide a generic pretty printing complete with
followable links etc. [http://img850.imageshack.us/f/screenshotet.png/]

So supplying rendering transformations seems like a neat browser independent
way to consistently aide in human debugging and consumption of resources.

Thanks again!

/Casper