You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ha...@apache.org on 2008/07/16 01:41:21 UTC

svn commit: r677104 - in /myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template: ./ foo.xml foo.xsl

Author: hazems
Date: Tue Jul 15 16:41:20 2008
New Revision: 677104

URL: http://svn.apache.org/viewvc?rev=677104&view=rev
Log:
http://issues.apache.org/jira/browse/TOMAHAWK-1299 
Promoting the xmlTemplate component to Tomahawk.

Added:
    myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/
    myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xml
    myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xsl

Added: myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xml?rev=677104&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xml (added)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xml Tue Jul 15 16:41:20 2008
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+
+<!--
+/*
+ * 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.
+ */
+//-->
+
+<doc>Hello</doc>
\ No newline at end of file

Added: myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xsl
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xsl?rev=677104&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xsl (added)
+++ myfaces/tomahawk/trunk/examples/simple/src/main/resources/org/apache/myfaces/examples/template/foo.xsl Tue Jul 15 16:41:20 2008
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+
+<!--
+/*
+ * 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.
+ */
+//-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <xsl:template match="doc">
+    <out><xsl:value-of select="."/></out>
+  </xsl:template>
+</xsl:stylesheet>