Author: buildbot
Date: Wed Oct 3 21:47:27 2012
New Revision: 833952
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/jax-rs-advanced-xml.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/docs/jax-rs-advanced-xml.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-advanced-xml.html (original)
+++ websites/production/cxf/content/docs/jax-rs-advanced-xml.html Wed Oct 3
21:47:27 2012
@@ -391,7 +391,7 @@ WebClient client = WebClient.create(<spa
<p>One way to get outbound XML transformed to HTML or get an XHTML payload
further decorated with CSS tags is to <a shape="rect" class="external-link"
href="http://www.w3.org/TR/xml-stylesheet/" rel="nofollow">associate an
xml-stylesheet processing instruction</a> with the XML payload, for example:</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
<pre class="code-xml">
-<span class="code-tag"><?xml-stylesheet type=<span
class="code-quote">"text/xls"</span> href=<span
class="code-quote">"http://localhost/myapp/stylesheets/toHTML.xsl"</span>?></span>
+<span class="code-tag"><?xml-stylesheet type=<span
class="code-quote">"text/xsl"</span> href=<span
class="code-quote">"http://localhost/myapp/stylesheets/toHTML.xsl"</span>?></span>
<span class="code-tag"><products xmlns=<span
class="code-quote">"http://products"</span>></span>
<span class="code-tag"><product id=<span
class="code-quote">"1"</span>/></span>
<span class="code-tag"></products></span>
@@ -429,7 +429,7 @@ This option is alternative to using XSLT
<span class="code-tag"><bean id=<span
class="code-quote">"jaxbProvider"</span> class=<span
class="code-quote">"org.apache.cxf.jaxrs.provider.JAXBElementProvider"</span>></span>
<span class="code-tag"><map></span>
<entry key=<span class="code-quote">"com.sun.xml.bind.xmlHeaders"</span>
- value=<span class="code-quote">"<span
class="code-tag"><?xml-stylesheet type='text/xls'
href='/stylesheets/toHTML.xsl'?></span>"</span>/>
+ value=<span class="code-quote">"<span
class="code-tag"><?xml-stylesheet type='text/xsl'
href='/stylesheets/toHTML.xsl'?></span>"</span>/>
<span class="code-tag"></map></span>
<span class="code-tag"></bean></span>
<span class="code-tag"></beans></span>
@@ -447,7 +447,7 @@ Otherwise the best option is to extend J
<span class="code-keyword">public</span> class Resource {
@GET
@Produces(<span class="code-quote">"application/xml"</span>)
- @XMLInstruction(<span class="code-quote">"<?xml-stylesheet
type='text/xls' href='/stylesheets/toHTML.xsl'?>"</span>)
+ @XMLInstruction(<span class="code-quote">"<?xml-stylesheet
type='text/xsl' href='/stylesheets/toHTML.xsl'?>"</span>)
<span class="code-keyword">public</span> Products getProducts() {}
}
</pre>