forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r264892 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates: ./ resume-content-address.ft resume-content-contact.ft
Date Tue, 30 Aug 2005 23:32:33 GMT
Author: rgardler
Date: Tue Aug 30 16:32:25 2005
New Revision: 264892

URL: http://svn.apache.org/viewcvs?rev=264892&view=rev
Log:
add a couple of forrest:templates to display sections of the resumes

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-address.ft
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-contact.ft

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-address.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-address.ft?rev=264892&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-address.ft
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-address.ft
Tue Aug 30 16:32:25 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<forrest:contract xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  name="resume-content-address" type="nugget">
+  <description>
+    resume-content-address - Output a formatted copy of the address contained in
+    a resume document.. 
+  </description>
+  <usage><![CDATA[<forrest:contract name="resume-content-address"/>]]></usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    format="xhtml" name="resume-content-address" inputFormat="xsl" body="true" head="false">
+     <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	    <xsl:template name="resume-content-address-body">
+	<xsl:comment>+
+	    | start resume-content-address
+	    +</xsl:comment>
+      <div id="resume-content-address-area">
+        <xsl:copy-of select="div[@id='content']/div[@id='content-main']/div[@id='resume-address']/*"/>
+      </div>
+<xsl:comment>+
+    | end resume-content-address
+    +</xsl:comment>
+		  </xsl:template>
+	  </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-contact.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-contact.ft?rev=264892&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-contact.ft
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-contact.ft
Tue Aug 30 16:32:25 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2005 The Apache Software Foundation or its licensors,
+  as applicable.
+
+  Licensed 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.
+-->
+<forrest:contract xmlns:forrest="http://apache.org/forrest/templates/1.0"
+  name="resume-content-contact" type="nugget">
+  <description>
+    resume-content-contact - Output a formatted copy of the contact details
+    contained in a resume document.. 
+  </description>
+  <usage><![CDATA[<forrest:contract name="resume-content-contact"/>]]></usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    format="xhtml" name="resume-content-contact" inputFormat="xsl" body="true" head="false">
+     <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	    <xsl:template name="resume-content-contact-body">
+	<xsl:comment>+
+	    | start resume-content-contact
+	    +</xsl:comment>
+      <div id="resume-content-contact-area">
+        <xsl:copy-of select="div[@id='content']/div[@id='content-main']/div[@id='resume-contact']/*"/>
+      </div>
+<xsl:comment>+
+    | end resume-content-contact
+    +</xsl:comment>
+		  </xsl:template>
+	  </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>



Mime
View raw message