incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r841833 [28/28] - in /websites/staging/sling/trunk/content: ./ site/ site/46-line-blog.data/ site/authentication.data/ site/documentation.data/ site/first-steps.data/ site/getting-and-building-sling.data/ site/how-to-manage-events-in-sling....
Date Wed, 12 Dec 2012 09:17:17 GMT
Added: websites/staging/sling/trunk/content/site/web-console-extensions.html
==============================================================================
--- websites/staging/sling/trunk/content/site/web-console-extensions.html (added)
+++ websites/staging/sling/trunk/content/site/web-console-extensions.html Wed Dec 12 09:16:44 2012
@@ -0,0 +1,127 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - Web Console Extensions</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="bundles.html" title="Bundles">Bundles</A>&nbsp;&gt;&nbsp;<A href="" title="Web Console Extensions">Web Console Extensions</A>
+        </DIV>
+<H1><A name="WebConsoleExtensions-WebConsoleExtensions"></A>Web Console Extensions</H1>
+
+<P>The Apache Sling project provides two extensions to the <A href="http://felix.apache.org/site/apache-felix-web-console.html" class="external-link" rel="nofollow">Apache Felix Web Console</A> (in addition to a number of plugins, of course):</P>
+
+<DIV>
+<UL>
+    <LI><A href="#WebConsoleExtensions-Branding%2528org.apache.sling.extensions.webconsolebranding%2529">Branding (org.apache.sling.extensions.webconsolebranding)</A></LI>
+    <LI><A href="#WebConsoleExtensions-SecurityProvider%2528org.apache.sling.extensions.webconsolesecurityprovider%2529">Security Provider (org.apache.sling.extensions.webconsolesecurityprovider)</A></LI>
+</UL></DIV>
+
+<H2><A name="WebConsoleExtensions-Branding%28org.apache.sling.extensions.webconsolebranding%29"></A>Branding (org.apache.sling.extensions.webconsolebranding)</H2>
+
+<P>The Apache Sling Web Console Branding provided by Apache Sling is currently just for the product logo displayed in the upper right corner of the Web Console and some titles and strings.</P>
+
+<P>This bundle will attach as a fragment bundle to the Apache Felix Web Console bundle. To enable it after installation into a running system, you might have to refresh the package imports of the Apache Felix Web Console bundle. If you install using the Apache Felix Web Console bundle installation functionality, this will be taken care of by the Web Console.</P>
+
+
+<H2><A name="WebConsoleExtensions-SecurityProvider%28org.apache.sling.extensions.webconsolesecurityprovider%29"></A>Security Provider (org.apache.sling.extensions.webconsolesecurityprovider)</H2>
+
+<P>The Apache Sling Web Console Security Provider implements the Apache Felix Web Console <TT>WebConsoleSecurityProvider</TT> interface authenticating Web Console users against the JCR repository. Each username and password presented is used to login to the JCR repository and to check the respective session.</P>
+
+<OL>
+	<LI>Ensure the username and password can be used to login to the default workspace. If not, access is denied</LI>
+	<LI>If the username presented is one of the user names configured with the <TT>users</TT> configuration property, access is granted.</LI>
+	<LI>Otherwise if the user is a (direct or indirect) member of one of the groups configured with the <TT>groups</TT> configuration property, access is granted.</LI>
+</OL>
+
+
+<P>Access is denied if the username and password cannot be used to login to the default workspace or if the user is neither one of the configured allowed users nor in any of the configured groups.</P>
+
+<H3><A name="WebConsoleExtensions-Configuration"></A>Configuration</H3>
+
+<P>The Security Provider is configured with configuration with PID <TT>org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider</TT> supporting the following properties:</P>
+
+<DIV class="table-wrap">
+<TABLE class="confluenceTable"><TBODY>
+<TR>
+<TH class="confluenceTh"> Property </TH>
+<TH class="confluenceTh"> Type </TH>
+<TH class="confluenceTh"> Default Value </TH>
+<TH class="confluenceTh"> Description</TH>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>users</TT> </TD>
+<TD class="confluenceTd"> <TT>String</TT>, <TT>String[]</TT> or <TT>Vector&lt;String&gt;</TT> </TD>
+<TD class="confluenceTd"> admin </TD>
+<TD class="confluenceTd"> The list of users granted access to the Web Console </TD>
+</TR>
+<TR>
+<TD class="confluenceTd"> <TT>groups</TT></TD>
+<TD class="confluenceTd"> <TT>String</TT>, <TT>String[]</TT> or <TT>Vector&lt;String&gt;</TT> </TD>
+<TD class="confluenceTd"> &mdash; </TD>
+<TD class="confluenceTd"> The list of groups whose (direct or indirect) members are granted access to the Web Console </TD>
+</TR>
+</TBODY></TABLE>
+</DIV>
+
+
+<P>Note, that while the default value explicitly grants the <EM>admin</EM> user to access the Web Console it is suggested that system administrators define a special group and assign users with Web Console access to this group.</P>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by fmeschbe on 2010-08-25 04:33:14.0
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Added: websites/staging/sling/trunk/content/site/webdav.html
==============================================================================
--- websites/staging/sling/trunk/content/site/webdav.html (added)
+++ websites/staging/sling/trunk/content/site/webdav.html Wed Dec 12 09:16:44 2012
@@ -0,0 +1,78 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - WebDAV</TITLE>
+    <LINK rel="stylesheet" href="http://incubator.apache.org/sling/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://incubator.apache.org/sling/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://incubator.apache.org/sling/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://incubator.apache.org/sling/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://incubator.apache.org/">
+          <IMG border="0" alt="Apache Incubator" src="http://incubator.apache.org/images/apache-incubator-logo.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+ 
+             
+                         
+                                     
+                                                 
+            
+
+<UL>
+	<LI><A href="documentation.html" title="Documentation">Documentation</A></LI>
+	<LI><A href="advanced-topics.html" title="Advanced Topics">Advanced Topics</A></LI>
+	<LI><A href="development.html" title="Development">Development</A></LI>
+	<LI><A href="links.html" title="Links">Links</A></LI>
+	<LI><A href="../SLING/faq.html" title="FAQ">FAQ</A></LI>
+	<LI><SPAN class="nobr"><A href="http://cwiki.apache.org/SLING/" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="project-information.html" title="Project Information">Project Information</A></LI>
+	<LI><SPAN class="nobr"><A href="http://www.apache.org/foundation/thanks.html" title="Visit page outside Confluence" rel="nofollow">Sponsors<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.apache.org/foundation/sponsorship.html" title="Visit page outside Confluence" rel="nofollow">Sponsorship<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<P>
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </DIV>
+    <DIV class="main">
+<H1><A name="WebDAV-RepositoryBasedDevelopment"></A>Repository Based Development</H1>
+
+<DIV>
+<UL>
+  <LI><A href="#WebDAV-WebDAVSupport">WebDAV Support</A></LI>
+  <LI><A href="#WebDAV-EclipsepluginforJCR">Eclipse plugin for JCR</A></LI>
+</UL></DIV>
+
+<H2><A name="WebDAV-WebDAVSupport"></A>WebDAV Support</H2>
+
+<P>WebDAV support in Sling is based on the <SPAN class="nobr"><A href="http://jackrabbit.apache.org/doc/components/jcr-server.html" title="Visit page outside Confluence" rel="nofollow">Simple WebDAV<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN> implementation of Apache Jackrabbit which is integrated in the <TT>jcr/webdav</TT> project. By default the WebDAV server is running below <TT>/dav</TT> URL where the URL path consists of three parts:</P>
+
+<DIV class="panel"><DIV class="panelContent">
+<P>prefix/workspace/item</P>
+</DIV></DIV>
+
+<UL>
+	<LI><TT><B>prefix</B></TT> is the URL prefix to address the WebDAV servlet. By default this is set to <TT>/dav</TT> but may be configured to any valid path.</LI>
+	<LI><TT><B>workspace</B></TT> is the name of the workspace to be accessed through WebDAV.</LI>
+	<LI><TT><B>item</B></TT> is the path to the JCR Item to access.</LI>
+</UL>
+
+
+<P>If you access the WebDAV server at the prefix path &ndash; e.g. <TT>!http://localhost:8080/dav</TT> &ndash; you will be redirected to the default workspace with a temporary redirect status 302. Some clients, such as the Linux <EM>davfs</EM>, do not like this redirection and must be configured to explicitly address the default workspace.</P>
+
+<H2><A name="WebDAV-EclipsepluginforJCR"></A>Eclipse plugin for JCR</H2>
+
+<P>TBD</P>
+    </DIV>
+  </BODY>
+</HTML>
+

Added: websites/staging/sling/trunk/content/site/wiki.html
==============================================================================
--- websites/staging/sling/trunk/content/site/wiki.html (added)
+++ websites/staging/sling/trunk/content/site/wiki.html Wed Dec 12 09:16:44 2012
@@ -0,0 +1,221 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - wiki</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="" title="wiki">wiki</A>
+        </DIV>
+<H1><A name="wiki-ApacheSlingWebsite"></A>Apache Sling Website</H1>
+
+<DIV class="panelMacro"><TABLE class="tipMacro"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B>Use Generated Pages</B><BR>The Apache Sling project uses a Confluence space for documentation purposes and to generate the static Sling web site. You are currently looking at the source wiki. End users should generally use the static, generated pages, at <A href="http://incubator.apache.org/sling" class="external-link" rel="nofollow">http://incubator.apache.org/sling</A> since the wiki is typically only necessary for editing content. Below you'll find an overview of the main menu, all pages in this wiki as well as a list of recently modified pages.</TD></TR></TABLE></DIV>
+
+<TABLE class="sectionMacro" border="0" cellpadding="5" cellspacing="0" width="100%"><TBODY><TR>
+<TD class="confluenceTd" valign="top" width="50%">
+<H1><A name="wiki-Menu"></A>Menu</H1>
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+
+<H1><A name="wiki-Recentlyupdatedpages"></A>Recently updated pages</H1>
+    
+
+<DIV class="recently-updated recently-updated-concise">
+
+        <H4 class="sub-heading">Recently Updated</H4>
+        <FIELDSET class="hidden parameters">
+    <INPUT type="hidden" id="changesUrl" value="/confluence/plugins/recently-updated/changes.action?theme=concise&pageSize=15&startIndex=0&spaceKeys=SLINGxSITE">
+</FIELDSET>
+    <DIV class="results-container">
+        <UL>
+                    <LI class="first update-item">
+        <SPAN class="icon-container content-type-page"><A href="navigation.html" title="Apache Sling Website">Navigation</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="fmeschbe" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=fmeschbe">Felix Meschberger</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=76152&selectedPageVersions=47&selectedPageVersions=46">view change</A>)</DIV>
+                <DIV class="update-item-date">a minute ago</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="security.html" title="Apache Sling Website">Security</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="fmeschbe" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=fmeschbe">Felix Meschberger</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=27844458&selectedPageVersions=2&selectedPageVersions=1">view change</A>)</DIV>
+                <DIV class="update-item-date">3 minutes ago</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="apache-sling.html" title="Apache Sling Website">Apache Sling</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="bdelacretaz" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=bdelacretaz">Bertrand Delacretaz</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=76151&selectedPageVersions=26&selectedPageVersions=25">view change</A>)</DIV>
+                <DIV class="update-item-date">Apr 03</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="manipulating-content-the-slingpostservlet-servletspost.html" title="Apache Sling Website">Manipulating Content - The SlingPostServlet (servlets.post)</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="bdelacretaz" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=bdelacretaz">Bertrand Delacretaz</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=85794&selectedPageVersions=47&selectedPageVersions=46">view change</A>)</DIV>
+                <DIV class="update-item-date">Apr 03</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="manipulating-content-the-slingpostservlet-servletspost.html" title="Apache Sling Website">Manipulating Content - The SlingPostServlet (servlets.post)</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="edn" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=edn">Eric Norman</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=85794&selectedPageVersions=44&selectedPageVersions=43">view change</A>)</DIV>
+                <DIV class="update-item-date">Mar 17</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="wrap-or-decorate-resources.html" title="Apache Sling Website">Wrap or Decorate Resources</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="justinedelson" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=justinedelson">Justin Edelson</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23335935&selectedPageVersions=3&selectedPageVersions=2">view change</A>)</DIV>
+                <DIV class="update-item-date">Feb 16</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="how-to-manage-events-in-sling.html" title="Apache Sling Website">How to Manage Events in Sling</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="justinedelson" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=justinedelson">Justin Edelson</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=23335037&selectedPageVersions=28&selectedPageVersions=27">view change</A>)</DIV>
+                <DIV class="update-item-date">Feb 07</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="downloads.html" title="Apache Sling Website">Downloads</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="cziegeler@apache.org" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=cziegeler@apache.org">Carsten Ziegeler</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=89119&selectedPageVersions=78&selectedPageVersions=77">view change</A>)</DIV>
+                <DIV class="update-item-date">Feb 07</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="news.html" title="Apache Sling Website">News</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="cziegeler@apache.org" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=cziegeler@apache.org">Carsten Ziegeler</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=120749&selectedPageVersions=70&selectedPageVersions=69">view change</A>)</DIV>
+                <DIV class="update-item-date">Feb 07</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="authentication-framework.html" title="Apache Sling Website">Authentication - Framework</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="justinedelson" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=justinedelson">Justin Edelson</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=12845344&selectedPageVersions=8&selectedPageVersions=7">view change</A>)</DIV>
+                <DIV class="update-item-date">Jan 24</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="news.html" title="Apache Sling Website">News</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="justinedelson" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=justinedelson">Justin Edelson</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=120749&selectedPageVersions=65&selectedPageVersions=64">view change</A>)</DIV>
+                <DIV class="update-item-date">Jan 14</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="release-management.html" title="Apache Sling Website">Release Management</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="justinedelson" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=justinedelson">Justin Edelson</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=117895&selectedPageVersions=22&selectedPageVersions=21">view change</A>)</DIV>
+                <DIV class="update-item-date">Jan 14</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="maven-archetypes.html" title="Apache Sling Website">Maven Archetypes</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="justinedelson" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=justinedelson">Justin Edelson</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=24182899&selectedPageVersions=3&selectedPageVersions=2">view change</A>)</DIV>
+                <DIV class="update-item-date">Nov 28</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="downloads.html" title="Apache Sling Website">Downloads</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="justinedelson" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=justinedelson">Justin Edelson</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=89119&selectedPageVersions=76&selectedPageVersions=75">view change</A>)</DIV>
+                <DIV class="update-item-date">Nov 15</DIV>
+    </LI>
+        <LI class=" update-item">
+        <SPAN class="icon-container content-type-page"><A href="project-team.html" title="Apache Sling Website">Project Team</A></SPAN>
+        <DIV class="update-item-desc">updated by <A class="confluence-userlink url fn" data-username="thecarlhall" href="https://cwiki.apache.org/confluence/users/viewuserprofile.action?username=thecarlhall">Carl Hall</A></DIV>
+                <DIV class="update-item-changes">(<A href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=76195&selectedPageVersions=22&selectedPageVersions=21">view change</A>)</DIV>
+                <DIV class="update-item-date">Nov 10</DIV>
+    </LI>
+        <LI class="more-link-container">
+    <A class="more-link more-link-base" href="https://cwiki.apache.org/confluence/plugins/recently-updated/changes.action?theme=concise&pageSize=15&startHandle=com.atlassian.confluence.pages.Page-27828602&spaceKeys=SLINGxSITE&contentType=-mail,page,comment,blogpost,attachment,userinfo,spacedesc,personalspacedesc,status">
+        <SPAN class="more-link-text">More</SPAN>&nbsp;
+        <IMG class="waiting-image hidden" alt="Please wait" src="https://cwiki.apache.org/confluence/s/2042/9/_/images/icons/wait.gif">
+    </A>
+</LI>
+        </UL>
+    </DIV>
+</DIV>
+</TD>
+
+<TD class="confluenceTd" valign="top" width="50%">
+<H1><A name="wiki-Sitemap"></A>Site map</H1>
+<UL><LI><A href="apache-sling.html" title="Apache Sling">Apache Sling</A><UL><LI><A href="contributing.html" title="Contributing">Contributing</A></LI><LI><A href="documentation.html" title="Documentation">Documentation</A><UL><LI><A href="bundles.html" title="Bundles">Bundles</A><UL><LI><A href="content-loading-jcrcontentloader.html" title="Content Loading (jcr.contentloader)">Content Loading (jcr.contentloader)</A></LI><LI><A href="internationalization-support-i18n.html" title="Internationalization Support (i18n)">Internationalization Support (i18n)</A></LI><LI><A href="jcr-installer-provider.html" title="JCR Installer Provider">JCR Installer Provider</A></LI><LI><A href="managing-users-and-groups-jackrabbitusermanager.html" title="Managing users and groups (jackrabbit.usermanager)">Managing users and groups (jackrabbit.usermanager)</A></LI><LI><A href="managing-permissions-jackrabbitaccessmanager.html" title="Managing permissions (jackrabbit.accessmanager)">Managing permi
 ssions (jackrabbit.accessmanager)</A></LI><LI><A href="manipulating-content-the-slingpostservlet-servletspost.html" title="Manipulating Content - The SlingPostServlet (servlets.post)">Manipulating Content - The SlingPostServlet (servlets.post)</A></LI><LI><A href="mime-type-support-commonsmime.html" title="MIME Type Support (commons.mime)">MIME Type Support (commons.mime)</A></LI><LI><A href="output-rewriting-pipelines-orgapacheslingrewriter.html" title="Output Rewriting Pipelines (org.apache.sling.rewriter)">Output Rewriting Pipelines (org.apache.sling.rewriter)</A></LI><LI><A href="sling-settings-orgapacheslingsettings.html" title="Sling Settings (org.apache.sling.settings)">Sling Settings (org.apache.sling.settings)</A></LI><LI><A href="web-console-extensions.html" title="Web Console Extensions">Web Console Extensions</A></LI><LI><A href="apache-sling-eventing-and-job-handling.html" title="Apache Sling Eventing and Job Handling">Apache Sling Eventing and Job Handling</A><
 /LI><LI><A href="apache-sling-commons-thread-pool.html" title="Apache Sling Commons Thread Pool">Apache Sling Commons Thread Pool</A></LI><LI><A href="osgi-installer.html" title="OSGi Installer">OSGi Installer</A></LI><LI><A href="accessing-filesystem-resources-extensionsfsresource.html" title="Accessing Filesystem Resources (extensions.fsresource)">Accessing Filesystem Resources (extensions.fsresource)</A></LI><LI><A href="bundle-resources-extensionsbundleresource.html" title="Bundle Resources (extensions.bundleresource)">Bundle Resources (extensions.bundleresource)</A></LI><LI><A href="commons-html-utilities.html" title="Commons HTML Utilities">Commons HTML Utilities</A></LI><LI><A href="scheduler-service-commons-scheduler.html" title="Scheduler Service (commons scheduler)">Scheduler Service (commons scheduler)</A></LI></UL></LI><LI><A href="configuration.html" title="Configuration">Configuration</A></LI><LI><A href="development.html" title="Development">Development</A><UL
 ><LI><A href="client-request-logging.html" title="Client Request Logging">Client Request Logging</A></LI><LI><A href="dependency-management.html" title="Dependency Management">Dependency Management</A></LI><LI><A href="embedding-sling.html" title="Embedding Sling">Embedding Sling</A></LI><LI><A href="getting-and-building-sling.html" title="Getting and Building Sling">Getting and Building Sling</A></LI><LI><A href="issue-tracker.html" title="Issue Tracker">Issue Tracker</A></LI><LI><A href="jspc.html" title="JspC">JspC</A></LI><LI><A href="logging.html" title="Logging">Logging</A></LI><LI><A href="maven-archetypes.html" title="Maven Archetypes">Maven Archetypes</A></LI><LI><A href="maven-launchpad-plugin.html" title="Maven Launchpad Plugin">Maven Launchpad Plugin</A></LI><LI><A href="maventipsandtricks.html" title="MavenTipsAndTricks">MavenTipsAndTricks</A></LI><LI><A href="monitoring-requests.html" title="Monitoring Requests">Monitoring Requests</A></LI><LI><A href="release-
 management.html" title="Release Management">Release Management</A></LI><LI><A href="repository-based-development.html" title="Repository Based Development">Repository Based Development</A></LI><LI><A href="sling.html" title="Sling">Sling</A></LI><LI><A href="sling-testing-tools.html" title="Sling Testing Tools">Sling Testing Tools</A></LI><LI><A href="version-policy.html" title="Version Policy">Version Policy</A></LI></UL></LI><LI><A href="getting-started.html" title="Getting Started">Getting Started</A><UL><LI><A href="discover-sling-in-15-minutes.html" title="Discover Sling in 15 minutes">Discover Sling in 15 minutes</A></LI></UL></LI><LI><A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><UL><LI><A href="adapters.html" title="Adapters">Adapters</A></LI><LI><A href="architecture.html" title="Architecture">Architecture</A></LI><LI><A href="authentication.html" title="Authentication">Authentication</A><UL><LI><A href="authentication-actors.html" tit
 le="Authentication - Actors">Authentication - Actors</A></LI><LI><A href="authentication-authenticationhandler.html" title="Authentication - AuthenticationHandler">Authentication - AuthenticationHandler</A><UL><LI><A href="form-based-authenticationhandler.html" title="Form Based AuthenticationHandler">Form Based AuthenticationHandler</A></LI><LI><A href="openid-authenticationhandler.html" title="OpenID AuthenticationHandler">OpenID AuthenticationHandler</A></LI></UL></LI><LI><A href="authentication-framework.html" title="Authentication - Framework">Authentication - Framework</A></LI><LI><A href="authentication-tasks.html" title="Authentication - Tasks">Authentication - Tasks</A></LI></UL></LI><LI><A href="url-decomposition.html" title="URL decomposition">URL decomposition</A></LI><LI><A href="default-mapping-and-rendering.html" title="Default Mapping and Rendering">Default Mapping and Rendering</A></LI><LI><A href="dispatching-requests.html" title="Dispatching Requests">Disp
 atching Requests</A></LI><LI><A href="eventing-and-jobs.html" title="Eventing and Jobs">Eventing and Jobs</A></LI><LI><A href="filters.html" title="Filters">Filters</A></LI><LI><A href="mappings-for-resource-resolution.html" title="Mappings for Resource Resolution">Mappings for Resource Resolution</A></LI><LI><A href="request-parameters.html" title="Request Parameters">Request Parameters</A></LI><LI><A href="resources.html" title="Resources">Resources</A></LI><LI><A href="servlets.html" title="Servlets">Servlets</A></LI><LI><A href="request-listeners.html" title="Request Listeners">Request Listeners</A></LI><LI><A href="wrap-or-decorate-resources.html" title="Wrap or Decorate Resources">Wrap or Decorate Resources</A></LI><LI><A href="errorhandling.html" title="Errorhandling">Errorhandling</A></LI><LI><A href="the-sling-launchpad.html" title="The Sling Launchpad">The Sling Launchpad</A></LI></UL></LI><LI><A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &
 amp; How-Tos</A><UL><LI><A href="46-line-blog.html" title="46 Line Blog">46 Line Blog</A></LI><LI><A href="getting-resources-and-properties-in-sling.html" title="Getting Resources and Properties in Sling">Getting Resources and Properties in Sling</A></LI><LI><A href="how-to-manage-events-in-sling.html" title="How to Manage Events in Sling">How to Manage Events in Sling</A></LI><LI><A href="installing-and-upgrading-bundles.html" title="Installing and Upgrading Bundles">Installing and Upgrading Bundles</A></LI><LI><A href="jackrabbit-persistence.html" title="Jackrabbit Persistence">Jackrabbit Persistence</A></LI></UL></LI></UL></LI><LI><A href="downloads.html" title="Downloads">Downloads</A></LI><LI><A href="guides.html" title="Guides">Guides</A></LI><LI><A href="links.html" title="Links">Links</A></LI><LI><A href="media.html" title="Media">Media</A></LI><LI><A href="news.html" title="News">News</A></LI><LI><A href="old-stuff.html" title="Old Stuff">Old Stuff</A><UL><LI><A hre
 f="assembly.html" title="Assembly">Assembly</A></LI><LI><A href="launch-sling.html" title="Launch Sling">Launch Sling</A></LI><LI><A href="request-processing.html" title="Request Processing">Request Processing</A></LI><LI><A href="run-modes-orgapacheslingrunmode.html" title="Run Modes (org.apache.sling.runmode)">Run Modes (org.apache.sling.runmode)</A></LI><LI><A href="scriptengineintegration.html" title="ScriptEngineIntegration">ScriptEngineIntegration</A><UL><LI><A href="groovy-support.html" title="Groovy Support">Groovy Support</A></LI><LI><A href="xslt-processing-pipeline.html" title="XSLT Processing Pipeline">XSLT Processing Pipeline</A></LI></UL></LI><LI><A href="servlet-resolution.html" title="Servlet Resolution">Servlet Resolution</A></LI><LI><A href="sling-api.html" title="Sling API">Sling API</A></LI></UL></LI><LI><A href="plugins.html" title="Plugins">Plugins</A></LI><LI><A href="project-information.html" title="Project Information">Project Information</A><UL><LI>
 <A href="apache-sling-community-roles-and-processes.html" title="Apache Sling Community Roles and Processes">Apache Sling Community Roles and Processes</A></LI><LI><A href="project-license.html" title="Project License">Project License</A></LI><LI><A href="project-team.html" title="Project Team">Project Team</A></LI><LI><A href="security.html" title="Security">Security</A></LI></UL></LI><LI><A href="" title="wiki">wiki</A></LI></UL></LI><LI><A href="navigation.html" title="Navigation">Navigation</A></LI></UL></TD></TR></TBODY></TABLE> 
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by fmeschbe on 2008-02-11 05:59:28.0
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Added: websites/staging/sling/trunk/content/site/wrap-or-decorate-resources.html
==============================================================================
--- websites/staging/sling/trunk/content/site/wrap-or-decorate-resources.html (added)
+++ websites/staging/sling/trunk/content/site/wrap-or-decorate-resources.html Wed Dec 12 09:16:44 2012
@@ -0,0 +1,112 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - Wrap or Decorate Resources</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="documentation.html" title="Documentation">Documentation</A>&nbsp;&gt;&nbsp;<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A>&nbsp;&gt;&nbsp;<A href="" title="Wrap or Decorate Resources">Wrap or Decorate Resources</A>
+        </DIV>
+<H1><A name="WraporDecorateResources-Servicetowrapresources"></A>Service to wrap resources</H1>
+
+<H2><A name="WraporDecorateResources-Introduction"></A>Introduction</H2>
+
+<P>The Sling API provides an easy way to wrap or decorate a resource before returning. Use cases for this could for example be</P>
+<UL>
+	<LI>overwrite resource type/resource super type (for example based on the resource path)</LI>
+	<LI>add metadata</LI>
+</UL>
+
+
+<H2><A name="WraporDecorateResources-"></A></H2>
+
+<P>To add a resource decorator just register one or more services which implement the interface <TT>ResourceDecorator</TT></P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+<SPAN class="code-keyword">interface</SPAN> ResourceDecorator {
+    Resource decorate(Resource)
+
+    @Deprecated
+    Resource decorate(Resource, HttpServletRequest)
+} 
+</PRE>
+</DIV></DIV>
+
+<P>The registered decorators will be called from the resource resolver for each resource returned. <BR>
+If the service decorates the resource it should return the new resource. If the service does not want to decorate the resource, it should return the original resource or null. </P>
+
+<P>The two-argument {{</P>
+<DIV class="error"><SPAN class="error">Unknown macro: {decorate}</SPAN> </DIV>
+<P>}} method will not be invoked, starting with version 2.1.0 of the JCR Resource bundle. Implementors of this interface targeting both newer and older versions of this bundle are advised to implement this method with:</P>
+
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-java">
+    <SPAN class="code-keyword">public</SPAN> Resource decorate(Resource resource, HttpServletRequest request) {
+        <SPAN class="code-keyword">return</SPAN> <SPAN class="code-keyword">this</SPAN>.decorate(resource);
+    }
+</PRE>
+</DIV></DIV>
+
+<P>And use some other method (e.g. a {{</P>
+<DIV class="error"><SPAN class="error">Unknown macro: {ThreadLocal}</SPAN> </DIV>
+<P>}}) to obtain the current request if necessary.</P>
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by justinedelson on 2012-02-16 18:23:21.0
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Added: websites/staging/sling/trunk/content/site/xslt-processing-pipeline.html
==============================================================================
--- websites/staging/sling/trunk/content/site/xslt-processing-pipeline.html (added)
+++ websites/staging/sling/trunk/content/site/xslt-processing-pipeline.html Wed Dec 12 09:16:44 2012
@@ -0,0 +1,258 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - XSLT Processing Pipeline</TITLE>
+    <LINK rel="stylesheet" href="http://sling.apache.org/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://sling.apache.org/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://sling.apache.org/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://sling.apache.org/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://www.apache.org/">
+          <IMG border="0" alt="Apache" src="http://sling.apache.org/site/media.data/apache.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+<P><B>Documentation</B><BR class="atl-forced-newline">
+<A href="getting-started.html" title="Getting Started">Getting Started</A><BR class="atl-forced-newline">
+<A href="the-sling-engine.html" title="The Sling Engine">The Sling Engine</A><BR class="atl-forced-newline">
+<A href="development.html" title="Development">Development</A><BR class="atl-forced-newline">
+<A href="bundles.html" title="Bundles">Bundles</A><BR class="atl-forced-newline">
+<A href="tutorials-how-tos.html" title="Tutorials & How-Tos">Tutorials &amp; How&#45;Tos</A><BR class="atl-forced-newline">
+<A href="configuration.html" title="Configuration">Configuration</A><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/apidocs/sling6/index.html" class="external-link" rel="nofollow">API docs</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.wiki" class="external-link" rel="nofollow">Wiki</A><BR class="atl-forced-newline">
+<A href="http://s.apache.org/sling.faq" class="external-link" rel="nofollow">FAQ</A><BR class="atl-forced-newline"></P>
+
+<P><B>Project info</B><BR class="atl-forced-newline">
+<A href="http://sling.apache.org/site/downloads.cgi" class="external-link" rel="nofollow">Downloads</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/licenses/" class="external-link" rel="nofollow">License</A><BR class="atl-forced-newline">
+<A href="contributing.html" title="Contributing">Contributing</A><BR class="atl-forced-newline">
+<A href="news.html" title="News">News</A><BR class="atl-forced-newline">
+<A href="links.html" title="Links">Links</A><BR class="atl-forced-newline">
+<A href="project-information.html" title="Project Information">Project Information</A><BR class="atl-forced-newline">
+<A href="https://issues.apache.org/jira/browse/SLING" class="external-link" rel="nofollow">Issue Tracker</A><BR class="atl-forced-newline">
+<A href="http://svn.apache.org/viewvc/sling/trunk" class="external-link" rel="nofollow">Browse Source Repository</A><BR class="atl-forced-newline">
+<A href="security.html" title="Security">Security</A><BR class="atl-forced-newline"></P>
+
+<P><B>Sponsorship</B><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/thanks.html" class="external-link" rel="nofollow">Thanks</A><BR class="atl-forced-newline">
+<A href="http://www.apache.org/foundation/sponsorship.html" class="external-link" rel="nofollow">Become a Sponsor</A><BR>
+<A href="http://www.apache.org/foundation/buy_stuff.html" class="external-link" rel="nofollow">Buy Stuff</A></P>
+
+
+  <IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+  <P style="height: 135px"></P>
+    </DIV>
+    <DIV class="main">
+        <DIV class="breadcrump" style="font-size: 80%;">
+<A href="apache-sling.html" title="Apache Sling Website">Apache Sling Website</A>&nbsp;&gt;&nbsp;<A href="apache-sling.html" title="Apache Sling">Apache Sling</A>&nbsp;&gt;&nbsp;<A href="old-stuff.html" title="Old Stuff">Old Stuff</A>&nbsp;&gt;&nbsp;<A href="scriptengineintegration.html" title="ScriptEngineIntegration">ScriptEngineIntegration</A>&nbsp;&gt;&nbsp;<A href="" title="XSLT Processing Pipeline">XSLT Processing Pipeline</A>
+        </DIV>
+
+<P>In the <EM>Apache Sling Scripting W3C XML Processing Support</EM> bundle, Juanjo V&aacute;zquez has implemented XSLT processing support for Sling as another new scripting engine, based on the <A href="http://cocoon.apache.org/3.0/" class="external-link" rel="nofollow">Cocoon 3 pipeline engine</A>.</P>
+
+<H2><A name="XSLTProcessingPipeline-Intro"></A>Intro</H2>
+
+<P>An XML pipeline specifies a sequence of operations to be performed on zero or more XML documents. There are a number of advantages to using pipelines above all in terms of separation of concerns. On the other hand, we talk about XSLT processing if the operations in a pipeline are performed executing or applying XSLT stylesheets.</P>
+
+<P>XSLT processing support is implemented in Sling as an scripting engine bundle named <EM>Apache Sling Scripting W3C XML Processing Support</EM>. This bundle is based on the <A href="http://cocoon.apache.org/3.0/" class="external-link" rel="nofollow">Cocoon 3 pipeline engine</A> and uses the <A href="http://www.w3.org/TR/xproc/" class="external-link" rel="nofollow">W3C XProc language</A> in order to specify pipelines to be processed.</P>
+
+<P>For the time being, XProc is partially implemented and it&acute;s not clear that Sling must support all W3C recomendation yet. This could depend of concrete user requirements or use cases.</P>
+
+<P>The source code is found in the <A href="http://svn.apache.org/repos/asf/incubator/sling/trunk/contrib/scripting/xproc" class="external-link" rel="nofollow">contrib/scripting/xproc</A> module.</P>
+
+<H2><A name="XSLTProcessingPipeline-HowtoInstall"></A>How to Install</H2>
+
+<P>Install the <TT>org.apache.sling.scripting.xproc</TT> bundle in order to work with XProc. You can achieve this either building it from <TT>contrib/scripting/xproc</TT> folder in the Sling trunk or by downloading it from the Apache Snapshot repository here: <A href="http://people.apache.org/repo/m2-snapshot-repository/org/apache/sling/org.apache.sling.scripting.xproc/2.0.0-incubator-SNAPSHOT/org.apache.sling.scripting.xproc-2.0.0-incubator-20090403.114403-1.jar" class="external-link" rel="nofollow">org.apache.sling.scripting.xproc-2.0.0-incubator-20090403.114403-1.jar</A>.</P>
+
+<P>To deploy the bundle go to the bundles page of Apache Felix Web Console (<A href="http://localhost:8888/system/console/bundles" class="external-link" rel="nofollow">http://localhost:8888/system/console/bundles</A>), select the bundle file to upload, check the Start check box and click Install or Update button.</P>
+
+<P>In order to check whether XProc scripting engine has been installed, go to the Script Engines page of the Apache Felix Web Console and see the entry for XProc there:</P>
+
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>Apache Sling Scripting W3C XML Processing Support, 2.0.0-incubator-SNAPSHOT
+  	Language 	XMLProc, 1.0
+  	Extensions 	xpl
+  	MIME Types 	application/xml
+  	Names 	XProc, xml processing, xml pipeline processor 
+</PRE>
+</DIV></DIV>
+
+<H2><A name="XSLTProcessingPipeline-Howitworks"></A>How it works</H2>
+
+<P>As explained above, the bundle is able to perform a sequence of XSLT transforms on an XML document just as is expressed in a pipeline definition. A pipeline definition is a file with an xpl extension that follows the <A href="http://www.w3.org/TR/xproc/" class="external-link" rel="nofollow">W3C XProc grammar</A>. Only <TT>p:xslt</TT> steps are supported at the moment.</P>
+
+<P>For the XML input of pipeline, the processing uses a Cocoon generator named <TT>SlingGenerator</TT> that tries to resolve the requested resource as (in order of preference):</P>
+
+<UL>
+	<LI>an static XML file</LI>
+	<LI>a dynamically generated XML</LI>
+	<LI>the underlying node&acute;s export document view</LI>
+</UL>
+
+
+<H2><A name="XSLTProcessingPipeline-Samples"></A>Samples</H2>
+
+<P>Let&acute;s see some samples in order to understand the processing behaviour.</P>
+
+<P>1. Create some content</P>
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ curl -F sling:resourceType=xproc -F title=&quot;some title&quot; -F text=&quot;And some text&quot; http://admin:admin@localhost:8888/foo
+</PRE>
+</DIV></DIV>
+<P>2. Use WebDAV or curl to create a pipeline script at <TT>/apps/xproc/xproc.xpl</TT> :</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;?xml version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN> encoding=<SPAN class="code-quote">&quot;UTF-8&quot;</SPAN>?&gt;</SPAN>
+<SPAN class="code-tag">&lt;p:pipeline <SPAN class="code-keyword">xmlns:p</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/ns/xproc&quot;</SPAN>&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;p:xslt&gt;</SPAN>
+    <SPAN class="code-tag">&lt;p:input port=<SPAN class="code-quote">&quot;stylesheet&quot;</SPAN>&gt;</SPAN>
+      <SPAN class="code-tag">&lt;p:document href=<SPAN class="code-quote">&quot;/apps/xproc/one.xsl&quot;</SPAN>/&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/p:input&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/p:xslt&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;p:xslt&gt;</SPAN>
+    <SPAN class="code-tag">&lt;p:input port=<SPAN class="code-quote">&quot;stylesheet&quot;</SPAN>&gt;</SPAN>
+      <SPAN class="code-tag">&lt;p:document href=<SPAN class="code-quote">&quot;/apps/xproc/two.xsl&quot;</SPAN>/&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/p:input&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/p:xslt&gt;</SPAN>
+
+<SPAN class="code-tag">&lt;/p:pipeline&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+<P>3. Store the XSLT transforms in the repository:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;"><B>/apps/xproc/one.xsl</B></DIV><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+&lt;<SPAN class="code-keyword">xsl:stylesheet</SPAN> version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN>
+    <SPAN class="code-keyword">xmlns:xsl</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/1999/XSL/Transform&quot;</SPAN>&gt;
+
+<SPAN class="code-tag">&lt;<SPAN class="code-keyword">xsl:template</SPAN> match=<SPAN class="code-quote">&quot;/&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;one&gt;</SPAN>
+    <SPAN class="code-tag">&lt;<SPAN class="code-keyword">xsl:copy-of</SPAN> select=<SPAN class="code-quote">&quot;.&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/one&gt;</SPAN>
+<SPAN class="code-tag">&lt;/<SPAN class="code-keyword">xsl:template</SPAN>&gt;</SPAN>
+
+<SPAN class="code-tag">&lt;/<SPAN class="code-keyword">xsl:stylesheet</SPAN>&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;"><B>/apps/xproc/two.xsl</B></DIV><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+&lt;<SPAN class="code-keyword">xsl:stylesheet</SPAN> version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN>
+    <SPAN class="code-keyword">xmlns:xsl</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/1999/XSL/Transform&quot;</SPAN>&gt;
+
+<SPAN class="code-tag">&lt;<SPAN class="code-keyword">xsl:template</SPAN> match=<SPAN class="code-quote">&quot;/&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;two&gt;</SPAN>
+    <SPAN class="code-tag">&lt;<SPAN class="code-keyword">xsl:copy-of</SPAN> select=<SPAN class="code-quote">&quot;.&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/two&gt;</SPAN>
+<SPAN class="code-tag">&lt;/<SPAN class="code-keyword">xsl:template</SPAN>&gt;</SPAN>
+
+<SPAN class="code-tag">&lt;/<SPAN class="code-keyword">xsl:stylesheet</SPAN>&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+<P>4. Request foo.html to execute the pipeline:</P>
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ curl http://admin:admin@localhost:8888/foo.html
+
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;two&gt;
+  &lt;one&gt;
+    &lt;foo ...sling:resourceType=&quot;xproc&quot; text=&quot;And some text&quot; title=&quot;some title&quot;/&gt;
+  &lt;/one&gt;
+&lt;/two&gt;
+</PRE>
+</DIV></DIV>
+
+<P>In this case, the node&acute;s document view has been the pipeline&acute;s source.</P>
+
+<P>5. Now, store an static XML in the repository:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;"><B>/foo.xml</B></DIV><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;?xml version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN> encoding=<SPAN class="code-quote">&quot;UTF-8&quot;</SPAN>?&gt;</SPAN>
+<SPAN class="code-tag">&lt;foo&gt;</SPAN>
+	<SPAN class="code-tag">&lt;content&gt;</SPAN>
+		foo: static content
+	<SPAN class="code-tag">&lt;/content&gt;</SPAN>
+<SPAN class="code-tag">&lt;/foo&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>6. Again, request foo.html to execute the pipeline:</P>
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ curl http://admin:admin@localhost:8888/foo.html
+
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;two&gt;
+  &lt;one&gt;
+    &lt;foo&gt;
+	&lt;content&gt;
+	  foo: static content
+	&lt;/content&gt;
+    &lt;/foo&gt;
+  &lt;/one&gt;
+&lt;/two&gt;
+</PRE>
+</DIV></DIV>
+
+<P>This time the pipeline&acute;s source has been an static XML file.</P>
+
+<P>7. Store an script in the repository:</P>
+<DIV class="code panel" style="border-width: 1px;"><DIV class="codeHeader panelHeader" style="border-bottom-width: 1px;"><B>/apps/xproc/xproc.xml.esp</B></DIV><DIV class="codeContent panelContent">
+<PRE class="code-xml">
+<SPAN class="code-tag">&lt;?xml version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN> encoding=<SPAN class="code-quote">&quot;UTF-8&quot;</SPAN>?&gt;</SPAN>
+<SPAN class="code-tag">&lt;foo&gt;</SPAN>
+	<SPAN class="code-tag">&lt;content&gt;</SPAN>
+		foo: dynamic content
+	<SPAN class="code-tag">&lt;/content&gt;</SPAN>
+<SPAN class="code-tag">&lt;/foo&gt;</SPAN>
+</PRE>
+</DIV></DIV>
+
+<P>8. Delete previous static xml file (/foo.xml).</P>
+
+<P>9. Request foo.html to execute the pipeline:</P>
+<DIV class="preformatted panel" style="border-width: 1px;"><DIV class="preformattedContent panelContent">
+<PRE>$ curl http://admin:admin@localhost:8888/foo.html
+
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;two&gt;
+  &lt;one&gt;
+    &lt;foo&gt;
+	&lt;content&gt;
+	  foo: dynamic content
+	&lt;/content&gt;
+    &lt;/foo&gt;
+  &lt;/one&gt;
+&lt;/two&gt;
+</PRE>
+</DIV></DIV>
+
+<P>This time the pipeline&acute;s source has been a dinamically generated XML.</P>
+
+<H2><A name="XSLTProcessingPipeline-References"></A>References</H2>
+
+<UL>
+	<LI><A href="http://cocoon.apache.org/3.0/" class="external-link" rel="nofollow">Cocoon 3 pipeline engine</A></LI>
+	<LI><A href="http://www.w3.org/TR/xproc/" class="external-link" rel="nofollow">W3C XProc language</A></LI>
+	<LI><A href="https://issues.apache.org/jira/browse/SLING-893" class="external-link" rel="nofollow">SLING-893</A></LI>
+	<LI><A href="http://markmail.org/thread/33h5nhk5e3mswrue" class="external-link" rel="nofollow">Mail list discussion</A></LI>
+</UL>
+
+        <DIV class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
+Last modified by jvazquez on 2009-04-07 02:46:22.0
+        </DIV>
+        <DIV class="trademarkFooter">
+Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
+        </DIV>
+    </DIV>
+  </BODY>
+</HTML>
+

Added: websites/staging/sling/trunk/content/site/xstl-processing-pipeline.html
==============================================================================
--- websites/staging/sling/trunk/content/site/xstl-processing-pipeline.html (added)
+++ websites/staging/sling/trunk/content/site/xstl-processing-pipeline.html Wed Dec 12 09:16:44 2012
@@ -0,0 +1,135 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<HTML>
+  <HEAD>
+    <TITLE>Apache Sling - XSTL Processing Pipeline</TITLE>
+    <LINK rel="stylesheet" href="http://incubator.apache.org/sling/site/media.data/site.css" type="text/css" media="all">
+    <LINK rel="icon" href="http://incubator.apache.org/sling/site/media.data/favicon.ico">
+    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
+  </HEAD>
+  <BODY>
+    <DIV class="title">
+      <DIV class="logo">
+        <A href="http://incubator.apache.org/sling/site/index.html">
+          <IMG border="0" alt="Apache Sling" src="http://incubator.apache.org/sling/site/media.data/logo.png">
+        </A>
+      </DIV>
+      <DIV class="header">
+        <A href="http://incubator.apache.org/">
+          <IMG border="0" alt="Apache Incubator" src="http://incubator.apache.org/images/apache-incubator-logo.png">
+        </A>
+      </DIV>
+    </DIV>
+    <DIV class="menu">
+
+            
+                        
+                                    
+                                                
+            
+
+<UL>
+	<LI><A href="documentation.html" title="Documentation">Documentation</A></LI>
+	<LI><A href="advanced-topics.html" title="Advanced Topics">Advanced Topics</A></LI>
+	<LI><A href="development.html" title="Development">Development</A></LI>
+	<LI><SPAN class="nobr"><A href="http://incubator.apache.org/sling/site/downloads.cgi" title="Visit page outside Confluence" rel="nofollow">Downloads<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="contributing.html" title="Contributing">Contributing</A></LI>
+	<LI><A href="links.html" title="Links">Links</A></LI>
+	<LI><SPAN class="nobr"><A href="http://cwiki.apache.org/SLING/faq.html" title="Visit page outside Confluence" rel="nofollow">FAQ<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://cwiki.apache.org/SLING/" title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><A href="project-information.html" title="Project Information">Project Information</A></LI>
+	<LI><SPAN class="nobr"><A href="http://www.apache.org/foundation/thanks.html" title="Visit page outside Confluence" rel="nofollow">Sponsors<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+	<LI><SPAN class="nobr"><A href="http://www.apache.org/foundation/sponsorship.html" title="Visit page outside Confluence" rel="nofollow">Sponsorship<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN>
+
+<IFRAME src="http://www.apache.org/ads/button.html" style="border-width:0; float: left" frameborder="0" scrolling="no" width="135" height="135"></IFRAME>
+<P style="height: 100px">
+</LI>
+</UL>
+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </DIV>
+    <DIV class="main">
+
+
+<P>In the <EM>Apache Sling Scripting W3C XML Processing Support</EM> bundle, Juan Jo Vazquez has implemented XLST processing support for Sling as another new scripting engine.</P>
+
+<TABLE cellpadding="5" width="85%" cellspacing="8px" class="noteMacro" border="0" align="center"><COLGROUP><COL width="24"><COL></COLGROUP><TR><TD valign="top"><IMG src="http://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" width="16" height="16" align="absmiddle" alt="" border="0"></TD><TD><B class="strong">Simple</B><BR>
+<P>This is the first very simple sample which Bertrand Delacretaz has posted to Sling developers list. More samples and completion to come.</P></TD></TR></TABLE>
+
+
+
+<P>1. Install the <TT>org.apache.sling.scripting.xproc</TT> bundle by either building it from <TT>contrib/scripting/xproc</TT> folder in the Sling trunk or by dowloading it from the Apache Snapshot repository here: <SPAN class="nobr"><A href="http://people.apache.org/repo/m2-snapshot-repository/org/apache/sling/org.apache.sling.scripting.xproc/2.0.0-incubator-SNAPSHOT/org.apache.sling.scripting.xproc-2.0.0-incubator-20090403.114403-1.jar" title="Visit page outside Confluence" rel="nofollow">org.apache.sling.scripting.xproc-2.0.0-incubator-20090403.114403-1.jar<SUP><IMG class="rendericon" src="http://cwiki.apache.org/confluence/images/icons/linkext7.gif" height="7" width="7" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+
+<P>2. Create some content</P>
+
+<DIV class="preformatted"><DIV class="preformattedContent">
+<PRE>$ curl -F sling:resourceType=xproc -F title=&quot;some title&quot; -F text=&quot;And some text&quot; http://admin:admin@localhost:8888/foo
+</PRE>
+</DIV></DIV>
+
+<P>3. Create a pipeline script at <TT>/apps/xproc/xproc.xpl</TT> :</P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;?xml version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN> encoding=<SPAN class="code-quote">&quot;UTF-8&quot;</SPAN>?&gt;</SPAN>
+<SPAN class="code-tag">&lt;p:pipeline <SPAN class="code-keyword">xmlns:p</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/ns/xproc&quot;</SPAN>&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;p:xslt&gt;</SPAN>
+    <SPAN class="code-tag">&lt;p:input port=<SPAN class="code-quote">&quot;stylesheet&quot;</SPAN>&gt;</SPAN>
+      <SPAN class="code-tag">&lt;p:document href=<SPAN class="code-quote">&quot;/apps/xproc/one.xsl&quot;</SPAN>/&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/p:input&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/p:xslt&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;p:xslt&gt;</SPAN>
+    <SPAN class="code-tag">&lt;p:input port=<SPAN class="code-quote">&quot;stylesheet&quot;</SPAN>&gt;</SPAN>
+      <SPAN class="code-tag">&lt;p:document href=<SPAN class="code-quote">&quot;/apps/xproc/two.xsl&quot;</SPAN>/&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/p:input&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/p:xslt&gt;</SPAN>
+
+<SPAN class="code-tag">&lt;/p:pipeline&gt;</SPAN></PRE>
+</DIV></DIV>
+
+<P>4. Store the XSLT transforms in the repository:</P>
+
+<DIV class="code"><DIV class="codeHeader"><B>/apps/xproc/one.xsl</B></DIV><DIV class="codeContent">
+<PRE class="code-xml">&lt;<SPAN class="code-keyword">xsl:stylesheet</SPAN> version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN>
+    <SPAN class="code-keyword">xmlns:xsl</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/1999/XSL/Transform&quot;</SPAN>
+&gt;
+
+<SPAN class="code-tag">&lt;<SPAN class="code-keyword">xsl:template</SPAN> match=<SPAN class="code-quote">&quot;/&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;one&gt;</SPAN>
+    <SPAN class="code-tag">&lt;<SPAN class="code-keyword">xsl:copy-of</SPAN> select=<SPAN class="code-quote">&quot;.&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/one&gt;</SPAN>
+<SPAN class="code-tag">&lt;/<SPAN class="code-keyword">xsl:template</SPAN>&gt;</SPAN>
+
+<SPAN class="code-tag">&lt;/<SPAN class="code-keyword">xsl:stylesheet</SPAN>&gt;</SPAN></PRE>
+</DIV></DIV>
+
+<DIV class="code"><DIV class="codeHeader"><B>/apps/xproc/two.xsl</B></DIV><DIV class="codeContent">
+<PRE class="code-xml">&lt;<SPAN class="code-keyword">xsl:stylesheet</SPAN> version=<SPAN class="code-quote">&quot;1.0&quot;</SPAN>
+    <SPAN class="code-keyword">xmlns:xsl</SPAN>=<SPAN class="code-quote">&quot;http://www.w3.org/1999/XSL/Transform&quot;</SPAN>
+&gt;
+
+<SPAN class="code-tag">&lt;<SPAN class="code-keyword">xsl:template</SPAN> match=<SPAN class="code-quote">&quot;/&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;two&gt;</SPAN>
+    <SPAN class="code-tag">&lt;<SPAN class="code-keyword">xsl:copy-of</SPAN> select=<SPAN class="code-quote">&quot;.&quot;</SPAN>/&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/two&gt;</SPAN>
+<SPAN class="code-tag">&lt;/<SPAN class="code-keyword">xsl:template</SPAN>&gt;</SPAN>
+
+<SPAN class="code-tag">&lt;/<SPAN class="code-keyword">xsl:stylesheet</SPAN>&gt;</SPAN></PRE>
+</DIV></DIV>
+
+<P>5. Request foo.html to execute the pipeline:</P>
+
+<DIV class="preformatted"><DIV class="preformattedContent">
+<PRE>$ curl http://admin:admin@localhost:8888/foo.html
+
+&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
+&lt;two&gt;
+  &lt;one&gt;
+    &lt;foo ...sling:resourceType=&quot;xproc&quot; text=&quot;And some text&quot; title=&quot;some title&quot;/&gt;
+  &lt;/one&gt;
+&lt;/two&gt;
+</PRE>
+</DIV></DIV>
+    </DIV>
+  </BODY>
+</HTML>
+



Mime
View raw message