incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvazq...@apache.org
Subject svn commit: r751012 - in /incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc: ./ src/main/java/org/apache/sling/cocoon/generator/ src/main/java/org/apache/sling/cocoon/transform/ src/main/java/org/apache/sling/scripting/xproc/ src/mai...
Date Fri, 06 Mar 2009 18:05:31 GMT
Author: jvazquez
Date: Fri Mar  6 18:05:30 2009
New Revision: 751012

URL: http://svn.apache.org/viewvc?rev=751012&view=rev
Log:
some javadoc and cleaning code

Modified:
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/pom.xml
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGenerator.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGeneratorServletOutputStream.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/transform/SlingTransformer.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/scripting/xproc/XProcScriptEngine.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/XplBuilder.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/api/Step.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractCompoundStepImpl.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractStepImpl.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/EnvironmentImpl.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/PipelineImpl.java
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/META-INF/LICENSE
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/apps/sling/xpl/html.xpl
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/pipelines.json
    incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/xsl/test-html.xslt

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/pom.xml?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/pom.xml (original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/pom.xml Fri Mar 
6 18:05:30 2009
@@ -28,7 +28,7 @@
     </parent>
 
     <artifactId>org.apache.sling.scripting.xproc</artifactId>
-    <version>2.0.0-incubator-SNAPSHOT</version>
+    <version>2.0.2-incubator-SNAPSHOT</version>
     <packaging>bundle</packaging>
 
     <name>Apache Sling Scripting W3C XML Processing Support</name>
@@ -87,21 +87,6 @@
             <version>2.0.2-incubator</version>
         </dependency>
         <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.jcr.resource</artifactId>
-            <version>2.0.2-incubator</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.apache.jackrabbit</groupId>
-                    <artifactId>jackrabbit-jcr-commons</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>org.apache.jackrabbit</groupId>
-                    <artifactId>jackrabbit-classloader</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
             <groupId>javax.servlet</groupId>
             <artifactId>servlet-api</artifactId>
         </dependency>

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGenerator.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGenerator.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGenerator.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGenerator.java
Fri Mar  6 18:05:30 2009
@@ -35,6 +35,18 @@
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+/**
+ * A Cocoon Generator that uses internal Sling
+ * request processing in order to get the initial
+ * XML for the pipeline.
+ * 
+ * In order of preference the generator tries
+ * to resolve the current resource as:
+ * 
+ * 	+-- a XML file (adapts to {@link InputStream})
+ * 	+-- dynamically generated XML (using inclusion procedure)
+ *  +-- the underlying node´s export document view
+ */
 public class SlingGenerator extends AbstractGenerator {
 	
 	private final Logger log = LoggerFactory.getLogger(getClass());

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGeneratorServletOutputStream.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGeneratorServletOutputStream.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGeneratorServletOutputStream.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/generator/SlingGeneratorServletOutputStream.java
Fri Mar  6 18:05:30 2009
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.sling.cocoon.generator;
 
 import java.io.ByteArrayOutputStream;

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/transform/SlingTransformer.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/transform/SlingTransformer.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/transform/SlingTransformer.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/cocoon/transform/SlingTransformer.java
Fri Mar  6 18:05:30 2009
@@ -36,16 +36,18 @@
 import org.apache.sling.api.SlingHttpServletRequest;
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.api.scripting.SlingScriptHelper;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 import org.xml.sax.InputSource;
 import org.xml.sax.XMLReader;
 import org.xml.sax.helpers.XMLReaderFactory;
 
+/**
+ * A Cocoon transformer that executes XSLT
+ * transformations. The templates are Sling 
+ * resources supporting to be adapted to 
+ * {@link InputStream}.
+ */
 public class SlingTransformer extends AbstractTransformer {
 	
-	private final Logger log = LoggerFactory.getLogger(getClass());
-	
 	private SlingHttpServletRequest request;
 	private Map<String, Object> parameters;
     private String srcAbsPath;
@@ -141,6 +143,10 @@
         return result;
     }
 	
+    /**
+     * Get the XSLT source. For the time being, the 
+     * path must be absolute.
+     */
     private InputStream getXsltSource() throws Exception {
 		// The source is a xml file
 		Resource xmlResource = this.request.getResourceResolver().resolve(srcAbsPath);

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/scripting/xproc/XProcScriptEngine.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/scripting/xproc/XProcScriptEngine.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/scripting/xproc/XProcScriptEngine.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/scripting/xproc/XProcScriptEngine.java
Fri Mar  6 18:05:30 2009
@@ -22,6 +22,7 @@
 
 import javax.script.Bindings;
 import javax.script.ScriptContext;
+import javax.script.ScriptEngine;
 import javax.script.ScriptEngineFactory;
 import javax.script.ScriptException;
 
@@ -33,6 +34,12 @@
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+/**
+ * A {@link ScriptEngine} that uses XPL definition files
+ * in order to execute pipelines over Sling resources.
+ * 
+ * @see http://www.w3.org/TR/xproc/
+ */
 public class XProcScriptEngine extends AbstractSlingScriptEngine {
 	
 	private static final Logger log = LoggerFactory.getLogger(XProcScriptEngine.class);

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/XplBuilder.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/XplBuilder.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/XplBuilder.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/XplBuilder.java
Fri Mar  6 18:05:30 2009
@@ -36,6 +36,10 @@
 import org.xml.sax.helpers.DefaultHandler;
 import org.xml.sax.helpers.XMLReaderFactory;
 
+/**
+ * Builds a W3C XML Processing pipeline
+ * from a XPL file.
+ */
 public class XplBuilder {
 	
 	private XplElementFactory xplElementFactory;

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/api/Step.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/api/Step.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/api/Step.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/api/Step.java
Fri Mar  6 18:05:30 2009
@@ -20,7 +20,7 @@
 
 public interface Step extends XplElement {
 	
-	void eval();
+	void eval() throws Exception;
 	
 	Step getContainer();
 
@@ -29,4 +29,5 @@
 	Environment getEnv();
 
 	void setEnv(Environment env);
+	
 }

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractCompoundStepImpl.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractCompoundStepImpl.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractCompoundStepImpl.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractCompoundStepImpl.java
Fri Mar  6 18:05:30 2009
@@ -29,7 +29,7 @@
 	private Vector<Step> subpipeline = new Vector<Step>();
 	
 	@Override
-	public void eval() {
+	public void eval() throws Exception {
 		for (Step step : subpipeline) {
 			step.eval();
 		}

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractStepImpl.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractStepImpl.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractStepImpl.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/AbstractStepImpl.java
Fri Mar  6 18:05:30 2009
@@ -26,7 +26,7 @@
 	private Step container;
 	private Environment env;
 	
-	public abstract void eval();
+	public abstract void eval() throws Exception;
 	
 	public AbstractStepImpl() {
 		this.env = new EnvironmentImpl();

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/EnvironmentImpl.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/EnvironmentImpl.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/EnvironmentImpl.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/EnvironmentImpl.java
Fri Mar  6 18:05:30 2009
@@ -30,6 +30,7 @@
 	public SlingScriptHelper getSling() {
 		return sling;
 	}
+	
 	public void setSling(SlingScriptHelper sling) {
 		this.sling = sling;
 	}
@@ -37,6 +38,7 @@
 	public Pipeline getCcPipeline() {
 		return ccPipeline;
 	}
+	
 	public void setCcPipeline(Pipeline ccPipeline) {
 		this.ccPipeline = ccPipeline;
 	}

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/PipelineImpl.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/PipelineImpl.java?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/PipelineImpl.java
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/java/org/apache/sling/xproc/impl/PipelineImpl.java
Fri Mar  6 18:05:30 2009
@@ -30,8 +30,9 @@
 public class PipelineImpl extends AbstractCompoundStepImpl implements Pipeline {
 
 	@Override
-	public void eval() {		
+	public void eval() throws Exception {		
 		try {
+			
 			this.getEnv().setCcPipeline(new NonCachingPipeline());
 			
 			// generator
@@ -47,8 +48,10 @@
 			OutputStream out = this.getEnv().getSling().getResponse().getOutputStream();
 			this.getEnv().getCcPipeline().setup(out);
 			this.getEnv().getCcPipeline().execute();
-		} catch(Exception e) {
-			e.printStackTrace();
+			
+		} catch (Exception e) {
+			String absPath = this.getEnv().getSling().getRequest().getResource().getPath();
+			throw new Exception("Error in pipeline for resource: " + absPath, e);
 		}
 		
 	}

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/META-INF/LICENSE
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/META-INF/LICENSE?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/META-INF/LICENSE
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/META-INF/LICENSE
Fri Mar  6 18:05:30 2009
@@ -199,52 +199,4 @@
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
-   limitations under the License.
-
-
-APACHE SLING SUBCOMPONENTS:
-
-Apache Sling includes subcomponents with separate copyright notices and
-license terms. Your use of these subcomponents is subject to the terms
-and conditions of the following licenses.
-
-FreeMarker
-
-   Copyright (c) 2003 The Visigoth Software Society.
-   All rights reserved.
-
-   Redistribution and use in source and binary forms, with or without
-   modification, are permitted provided that the following conditions are met:
-
-      1. Redistributions of source code must retain the above copyright
-         notice, this list of conditions and the following disclaimer.
-      
-      2. The end-user documentation included with the redistribution,
-         if any, must include the following acknowledgement: "This
-         product includes software developed by the Visigoth Software
-         Society (http://www.visigoths.org/)." Alternately, this
-         acknowledgement may appear in the software itself, if and
-         wherever such third-party acknowledgements normally appear.
-      
-      3. Neither the name "FreeMarker", "Visigoth", nor any of the names
-         of the project contributors may be used to endorse or promote
-         products derived from this software without prior written
-         permission. For written permission, please contact
-         visigoths@visigoths.org.
-      
-      4. Products derived from this software may not be called "FreeMarker"
-         or "Visigoth" nor may "FreeMarker" or "Visigoth" appear in their
-         names without prior written permission of the Visigoth Software
-         Society.
-
-   THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
-   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-   MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-   IN NO EVENT SHALL THE VISIGOTH SOFTWARE SOCIETY OR ITS CONTRIBUTORS BE
-   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-   THE POSSIBILITY OF SUCH DAMAGE.
+   limitations under the License.
\ No newline at end of file

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/apps/sling/xpl/html.xpl
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/apps/sling/xpl/html.xpl?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/apps/sling/xpl/html.xpl
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/apps/sling/xpl/html.xpl
Fri Mar  6 18:05:30 2009
@@ -23,4 +23,10 @@
     </p:input>
   </p:xslt>
   
+  <p:xslt>
+    <p:input port="stylesheet">
+      <p:document href="/xpl-sample/xsl/test-html.xslt"/>
+    </p:input>
+  </p:xslt>
+  
 </p:pipeline>

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/pipelines.json
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/pipelines.json?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/pipelines.json
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/pipelines.json
Fri Mar  6 18:05:30 2009
@@ -13,5 +13,4 @@
 		"title": "no_xml",
 		"sling:resourceType": "sling/xpl"
 	}
-	
 }
\ No newline at end of file

Modified: incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/xsl/test-html.xslt
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/xsl/test-html.xslt?rev=751012&r1=751011&r2=751012&view=diff
==============================================================================
--- incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/xsl/test-html.xslt
(original)
+++ incubator/sling/whiteboard/jvazquez/org.apache.sling.scripting.xproc/src/main/resources/SLING-INF/content/xpl-sample/xsl/test-html.xslt
Fri Mar  6 18:05:30 2009
@@ -23,7 +23,7 @@
       </head>
       <body>
         The pipeline contents:
-        <xsl:value-of select="/content"/>
+        <xsl:value-of select="/result"/>
       </body>
     </html>
   </xsl:template>



Mime
View raw message