forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r280440 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/resources/stylesheets/resume2xdoc.xsl
Date Mon, 12 Sep 2005 23:05:38 GMT
Author: rgardler
Date: Mon Sep 12 16:05:31 2005
New Revision: 280440

URL: http://svn.apache.org/viewcvs?rev=280440&view=rev
Log:
add awards and memberships

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.Resume/resources/stylesheets/resume2xdoc.xsl

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=280440&r1=280439&r2=280440&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
Mon Sep 12 16:05:31 2005
@@ -20,8 +20,6 @@
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:resume="http://xmlresume.sourceforge.net/resume/0.0"
     version="1.0">
-
-  <xsl:param name="table.levelWidth">20%</xsl:param>
   
   <xsl:template match="/">
     <xsl:apply-templates select="resume:resume"/>
@@ -66,6 +64,66 @@
     </div>
   </xsl:template>
   
+  <xsl:template match="resume:awards">
+    <div id="resume-awards">
+      <section>
+        <xsl:apply-templates/>
+      </section>
+    </div>
+  </xsl:template>
+  
+  <xsl:template match="resume:award">
+    <div class="resume-award">
+      <section>
+        <title><xsl:value-of select="resume:title"/></title>
+        <p>Awarding by <xsl:value-of select="resume:organization"/>
+           (<xsl:value-of select="resume:period"/>).</p>
+        <p>Description: <xsl:value-of select="resume:description"/></p>
+      </section>
+    </div>
+  </xsl:template>
+  
+  <xsl:template match="resume:pubs">
+    <div id="resume-pubs">
+      <section>
+        <title>Publications</title>
+        <xsl:apply-templates/>
+      </section>
+    </div>
+  </xsl:template>
+  
+  <xsl:template match="resume:pub">
+      <li class="resume-pub">
+        <xsl:value-of select="resume:artTitle"/>
+        <xsl:value-of select="resume:bookTitle"/>,
+        <xsl:value-of select="resume:publisher"/>.
+        <xsl:value-of select="resume:date"/>
+      </li>
+  </xsl:template>
+  
+  <xsl:template match="resume:memberships">
+    <div id="resume-memberships">
+      <section>
+        <xsl:apply-templates/>
+      </section>
+    </div>
+  </xsl:template>
+  
+  <xsl:template match="resume:membership">
+      <section class="resume-membership">
+        <title><xsl:value-of select="resume:organization"/></title>
+        <xsl:apply-templates/>
+      </section>
+  </xsl:template>
+  
+  <xsl:template match="resume:misc">
+      <div class="resume-misc">
+        <section>
+          <xsl:apply-templates/>
+        </section>
+      </div>
+  </xsl:template>
+  
   <xsl:template match="resume:phone">
     Phone <xsl:value-of select="@location"/>: <xsl:value-of select="."/><br/>
   </xsl:template>
@@ -224,7 +282,7 @@
   <xsl:template match="resume:skillareas">
     <div id="resume-skillareas">
       <section>
-        <title>Skills</title>
+        <title>Skills Summary</title>
         <xsl:apply-templates/>
       </section>
     </div>



Mime
View raw message