Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 26E56D9AE for ; Wed, 3 Oct 2012 21:48:14 +0000 (UTC) Received: (qmail 10132 invoked by uid 500); 3 Oct 2012 21:48:14 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 10074 invoked by uid 500); 3 Oct 2012 21:48:14 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 10067 invoked by uid 99); 3 Oct 2012 21:48:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 21:48:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 21:48:11 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D1B6823889F7 for ; Wed, 3 Oct 2012 21:47:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r833952 - in /websites/production/cxf/content: cache/docs.pageCache docs/jax-rs-advanced-xml.html Date: Wed, 03 Oct 2012 21:47:27 -0000 To: commits@cxf.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121003214727.D1B6823889F7@eris.apache.org> 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(One way to get outbound XML transformed to HTML or get an XHTML payload further decorated with CSS tags is to associate an xml-stylesheet processing instruction with the XML payload, for example:

-<?xml-stylesheet type="text/xls" href="http://localhost/myapp/stylesheets/toHTML.xsl"?>
+<?xml-stylesheet type="text/xsl" href="http://localhost/myapp/stylesheets/toHTML.xsl"?>
 <products xmlns="http://products">
    <product id="1"/>
 </products>
@@ -429,7 +429,7 @@ This option is alternative to using XSLT
 <bean id="jaxbProvider" class="org.apache.cxf.jaxrs.provider.JAXBElementProvider">
 <map>
 <entry key="com.sun.xml.bind.xmlHeaders" 
-       value="<?xml-stylesheet type='text/xls' href='/stylesheets/toHTML.xsl'?>"/>
+       value="<?xml-stylesheet type='text/xsl' href='/stylesheets/toHTML.xsl'?>"/>
 </map>
 </bean>
 </beans>
@@ -447,7 +447,7 @@ Otherwise the best option is to extend J
 public class Resource {
    @GET
    @Produces("application/xml")
-   @XMLInstruction("<?xml-stylesheet type='text/xls' href='/stylesheets/toHTML.xsl'?>")
+   @XMLInstruction("<?xml-stylesheet type='text/xsl' href='/stylesheets/toHTML.xsl'?>")
    public Products getProducts() {}
 }