forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r264898 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume: resources/stylesheets/resume2xdoc.xsl templates/resume-content-contact.ft templates/resume-content-objective.ft
Date Wed, 31 Aug 2005 00:06:46 GMT
Author: rgardler
Date: Tue Aug 30 17:06:34 2005
New Revision: 264898

URL: http://svn.apache.org/viewcvs?rev=264898&view=rev
Log:
add template for objectives section

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-objective.ft
Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/resources/stylesheets/resume2xdoc.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-contact.ft

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/resources/stylesheets/resume2xdoc.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/resources/stylesheets/resume2xdoc.xsl?rev=264898&r1=264897&r2=264898&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/resources/stylesheets/resume2xdoc.xsl
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/resources/stylesheets/resume2xdoc.xsl
Tue Aug 30 17:06:34 2005
@@ -95,10 +95,12 @@
   </xsl:template>
   
   <xsl:template match="resume:objective">
-    <section>
-      <title>Objective</title>
-      <xsl:apply-templates/>
-    </section>
+    <div id="resume-objective">
+      <section>
+        <title>Objective</title>
+        <xsl:apply-templates/>
+      </section>
+    </div>
   </xsl:template>
   
   <xsl:template match="resume:availability">

Modified: 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=264898&r1=264897&r2=264898&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-contact.ft
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-contact.ft
Tue Aug 30 17:06:34 2005
@@ -19,7 +19,7 @@
   name="resume-content-contact" type="nugget">
   <description>
     resume-content-contact - Output a formatted copy of the contact details
-    contained in a resume document.. 
+    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"

Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-objective.ft
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-objective.ft?rev=264898&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-objective.ft
(added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/templates/resume-content-objective.ft
Tue Aug 30 17:06:34 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-objective" type="nugget">
+  <description>
+    resume-content-objective - Output a formatted copy of the address contained in
+    a resume document.. 
+  </description>
+  <usage><![CDATA[<forrest:contract name="resume-content-objective"/>]]></usage>
+  <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
+    format="xhtml" name="resume-content-objective" 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-objective-body">
+	<xsl:comment>+
+	    | start resume-content-objective
+	    +</xsl:comment>
+      <div id="resume-content-objective-area">
+        <xsl:copy-of select="div[@id='content']/div[@id='content-main']/div[@id='resume-objective']/*"/>
+      </div>
+<xsl:comment>+
+    | end resume-content-objective
+    +</xsl:comment>
+		  </xsl:template>
+	  </xsl:stylesheet>
+  </forrest:template>
+</forrest:contract>



Mime
View raw message