1. Shlomi Fish
  2. shlomi-fish-homepage

Commits

Shlomi Fish  committed 4df15e0

Remove trailing space - got all tests to pass.

  • Participants
  • Parent commits e19f3fe
  • Branches default

Comments (0)

Files changed (38)

File Tests/style-trailing-space.t

View file
     {
         chomp($l);
 
-        if ($l =~ m{\A(?:dest/t2-homepage|t2)/(?:lecture/CMake|(?:humour/fortunes/fortunes-shlomif-ids-data\.yaml|(?:js/MathJax.*?)\z))}
+        if ($l =~ m{\A(?:dest/t2-homepage|t2)/(?:lecture/(?:CMake|HTML-Tutorial/v1/xhtml1/hebrew)|(?:humour/fortunes/fortunes-shlomif-ids-data\.yaml|(?:js/MathJax.*?)\z))}
                 or ($l =~ m{\Alib/MathJax})
+                or ($l =~ m{\Alib/presentations/docbook/html-tutorial})
+                or ($l eq 'lib/screenplay-xml/from-vcs/Selina-Mandrake/selina-mandrake/screenplay/selina-mandrake-the-slayer.screenplay-text.xhtml')
+                or ($l eq 'lib/screenplay-xml/from-vcs/Selina-Mandrake/selina-mandrake/screenplay/selina-mandrake-the-slayer.final.html')
         )
         {
             next ACK_OUTPUT;

File lib/xml/resume/css/blueorange.css

View file
 <?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet version="1.0" 
+<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
 /*
     background-color: #336699;
     margin: 20px;
 }
-.resume { 
+.resume {
     background-color: #ffcc99;
     border: 1px solid white;
     margin-bottom: 20px;

File lib/xml/resume/css/compact.css

View file
  * http://xmlresume.sourceforge.net
  */
 
-// This dummy style must be here because the xml tags above cause some 
-// browsers (Konqueror, Mozilla) to ignore the first style 
+// This dummy style must be here because the xml tags above cause some
+// browsers (Konqueror, Mozilla) to ignore the first style
 .dummy { background-color: white }
 
-body, table { 
-    margin-top: 1cm; 
+body, table {
+    margin-top: 1cm;
     margin-bottom: 1cm;
     font-size: 8pt;
     background-color: white;
     font-family: Arial, Verdana, sans-serif;
 }
 
-.resume { 
+.resume {
     padding-left: 1.5cm;
     padding-right: 1.5cm;
 }

File lib/xml/resume/css/gray.css

View file
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
 /*
- * gray.css -- A professional-looking stylesheet with gray background and 
+ * gray.css -- A professional-looking stylesheet with gray background and
  * sans-serif font.
  *
  * Contributed 2001 by Stewart Evans and Bruce Christensen
 
 .dummy { background-color: white }
 
-.resume { 
+.resume {
     background-color: #eeeeee;
     padding-left: 30pt;
     padding-right: 30pt;

File lib/xml/resume/css/original.css

View file
 <?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet version="1.0" 
+<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
 /*
  * original.css -- The first stylesheet.  From the author: "This is a
- * sample only, and probably is quite offensive in terms of taste and 
+ * sample only, and probably is quite offensive in terms of taste and
  * style."  Background: off-white, fonts: Georgia, Trebuchet
  *
  * Contributed 2001 by Sean Kelly

File lib/xml/resume/css/professional.css

View file
 	border-collapse: collapse;
 	font-size:10.0pt;
 	font-family:"Arial"}
-td.SectionDescriptor, 
+td.SectionDescriptor,
 	{width: 1.0in;
 	vertical-align:text-top;
-	padding-left: 5.4pt; 
-	padding-right: 5.4pt; 
-	padding-top: 5.4pt; 
+	padding-left: 5.4pt;
+	padding-right: 5.4pt;
+	padding-top: 5.4pt;
 	padding-bottom: 0in;}
 td.SectionContent
-	{width: 5.4in; 
+	{width: 5.4in;
 	vertical-align:text-top;
-	padding-left: 5.4pt; 
-	padding-right: 5.4pt; 
-	padding-top: 5.4pt; 
+	padding-left: 5.4pt;
+	padding-right: 5.4pt;
+	padding-top: 5.4pt;
 	padding-bottom: 0in;	}
 td.address1cell
 	{vertical-align: text-top;
  	text-width:4.5in;
  	padding:0in 5.4pt 0in 5.4pt;
 span.skill, div.skill, td.skil
-	{font-family:Wingdings; 
+	{font-family:Wingdings;
 	mso-fareast-font-family:Wingdings;
 	mso-bidi-font-family:Wingdings";
 	}

File lib/xml/resume/dtd/catalog

View file
 
      1. Redistributions of source code must retain the above copyright
         notice, this list of conditions and the following disclaimer.
-     
+
      2. Redistributions in binary form must reproduce the above
         copyright notice, this list of conditions and the following
         disclaimer in the documentation and/or other materials provided
      NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
      THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   --
-    
+
 OVERRIDE YES
 
   -- The XML Resume Library, an XML DTD (and a schema some day...) --

File lib/xml/resume/dtd/resume.dcl

View file
      CHARSET
          BASESET
              "ISO Registration Number 176//CHARSET
-             ISO/IEC 10646-1:1993 UCS-4 with implementation 
+             ISO/IEC 10646-1:1993 UCS-4 with implementation
              level 3//ESC 2/5 2/15 4/6"
          DESCSET
                 0       9       UNUSED
              -- use this instead of the official declaration because SP only
                 supports 16-bit characters --
                 160     65374   160
-                65534   2       UNUSED 
+                65534   2       UNUSED
              -- 55296   2048    UNUSED
                 57344   8190    57344
                 65534   2       UNUSED
      SYNTAX
          SHUNCHAR NONE
          BASESET "ISO Registration Number 176//CHARSET
-                 ISO/IEC 10646-1:1993 UCS-4 with implementation 
+                 ISO/IEC 10646-1:1993 UCS-4 with implementation
                  level 3//ESC 2/5 2/15 4/6"
          DESCSET
              0 1114112 0
              SHORTTAG
                  STARTTAG
                      EMPTY NO
-                     UNCLOSED NO 
+                     UNCLOSED NO
                      NETENABL IMMEDNET
                  ENDTAG
-                     EMPTY NO 
+                     EMPTY NO
                      UNCLOSED NO
                  ATTRIB
                      DEFAULT YES

File lib/xml/resume/dtd/resume.dtd

View file
 <!ELEMENT present EMPTY>
 <!ELEMENT title (#PCDATA)>
 
-<!-- The following adds the special attribute "targets" to each and 
+<!-- The following adds the special attribute "targets" to each and
      every element of the DTD.  It is best to regenerate it with the
      command:
 grep '<\!ELEMENT ' resume.dtd | \

File lib/xml/resume/examples/Makefile

View file
 #
 # Copyright (c) 2002 Bruce Christensen
 # 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. Redistributions in binary form must reproduce the above copyright
 #    notice, this list of conditions and the following disclaimer in the
 #    documentation and/or other materials provided with the
 #    distribution.
-# 
+#
 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 pdf_proc = java org.apache.fop.apps.Fop -fo $(fo_flags) $(in) -pdf $(out)
 #pdf_proc = ~/bin/xep/run.sh $(fo_flags) $(in) $(out)
 
-# RTF generation currently requires you download a separate, closed source jar 
-# file and add it to your java classpath: 	
+# RTF generation currently requires you download a separate, closed source jar
+# file and add it to your java classpath:
 # http://www.xmlmind.com/foconverter/downloadperso.shtml
 rtf_proc = java com.xmlmind.fo.converter.Driver $(in) $(out)
 #rtf_proc = java ch.codeconsult.jfor.main.CmdLineConverter $(in) $(out)
 
-# Element filtering allows you to create targeted resumes.  
-# You can create your own targets; just specify them in your resume.xml 
+# Element filtering allows you to create targeted resumes.
+# You can create your own targets; just specify them in your resume.xml
 # file with the "targets" attribute.  In this example, the foodservice
-# AND carpentry elements will be included in the output, but not the 
-# elements targeted to other jobs.  Untargeted elements (those with no 
-# "targets" attribute) are always included.  
-# Take a look at example2.xml and try changing the filter targets to get a 
+# AND carpentry elements will be included in the output, but not the
+# elements targeted to other jobs.  Untargeted elements (those with no
+# "targets" attribute) are always included.
+# Take a look at example2.xml and try changing the filter targets to get a
 # feel for how the filter works.
 filter_targets = foodservice carpentry
 filter_proc = java net.sourceforge.xmlresume.filter.Filter -in $(in) -out $(out) $(filter_targets)

File lib/xml/resume/examples/addressing/Makefile

View file
 #
 # Copyright (c) 2000-2001 Sean Kelly
 # 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. Redistributions in binary form must reproduce the above copyright
 #    notice, this list of conditions and the following disclaimer in the
 #    documentation and/or other materials provided with the
 #    distribution.
-# 
+#
 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 untagged_format = standard
 usa_format = standard
 
-all:	$(RESUME).html $(RESUME).pdf $(RESUME).txt 
+all:	$(RESUME).html $(RESUME).pdf $(RESUME).txt
 
 clean:
 	-rm -f $(RESUME).html $(RESUME).pdf $(RESUME).fo $(RESUME).txt *~

File lib/xml/resume/examples/addressing/brazil.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample Brazilian address.  Uses 'european' format. Correct formatting is:
 
   Marina Costa e Silva
   Brazil
 
   This is actually a small variation on the canonical version according to
-  http://www.correios.com.br/Servicos/cep/Forma_Enderecamento.cfm . 
+  http://www.correios.com.br/Servicos/cep/Forma_Enderecamento.cfm .
   The most absolutely correct would be:
 
   Marina Costa e Silva
   Rua Afonso Camargo, 805
   Santana
   Guarapuava - PR
-  85070-200 
+  85070-200
   Brazil
 
 $Id: brazil.xml,v 1.1 2001/12/15 06:02:05 stewarte Exp $

File lib/xml/resume/examples/addressing/canada.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample Canadian address.  Uses 'standard' format. Correct formatting is:
 
   M.J. Arthur

File lib/xml/resume/examples/addressing/ireland.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample Ireland address.  Uses 'standard' format. Correct formatting is:
 
   William Clifton
   1 O'Leary Place
-  Cobh, Co. Cork 
+  Cobh, Co. Cork
   Ireland
 
 $Id: ireland.xml,v 1.1 2001/12/15 06:02:05 stewarte Exp $

File lib/xml/resume/examples/addressing/italy.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample Italian address.  Use 'italian' format. Correct formatting is:
 
   Giuseppe Verdi

File lib/xml/resume/examples/addressing/norway.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample Norwegian address.  Uses 'european' format. Correct formatting is:
 
   Henrik Ibsen

File lib/xml/resume/examples/addressing/nz.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample New Zealand address.  Use 'standard' format. Correct formatting is:
 
   John Brown

File lib/xml/resume/examples/addressing/uk.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample UK address.  Uses 'standard' format. Correct formatting is:
 
   A.J. Smith
   Southampton, Hants SO31 4NG
   UK
 
-  Note that county is no longer a required field for UK addresses, but 
+  Note that county is no longer a required field for UK addresses, but
   it is in fairly common usage.
 
 $Id: uk.xml,v 1.1 2001/12/15 06:02:05 stewarte Exp $

File lib/xml/resume/examples/addressing/untagged.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample untagged address; should be displayed exactly as entered,
 with line breaks preserved.
 
   Stewart Evans
   PO Box 1273
-  Santa Cruz, CA 
+  Santa Cruz, CA
   95061
 
 $Id: untagged.xml,v 1.1 2001/12/15 06:02:05 stewarte Exp $

File lib/xml/resume/examples/addressing/usa.xml

View file
 <?xml version="1.0" encoding="UTF-8"?>
 
-<!-- 
+<!--
 Sample USA address.  Uses 'standard' format. Correct formatting is:
 
   Stewart Evans

File lib/xml/resume/examples/build.xml

View file
  build.xml: A "Makefile" for the Ant build tool.
 
 USAGE:
- To create example1.html, example1.txt, example1.fo, and example1.pdf 
- from example1.xml, with Italian localization and a4 paper size, use 
+ To create example1.html, example1.txt, example1.fo, and example1.pdf
+ from example1.xml, with Italian localization and a4 paper size, use
  this command:
        ant -Dresume=example1 -Dcountry=it -Dpapersize=a4
- To generate just the html version of cv.xml with UK localization, use 
+ To generate just the html version of cv.xml with UK localization, use
  this command:
        ant html -Dresume=cv -Dcountry=uk
  To remove all generated files, use this command:
 	ant filter -Dresume=example2 -Dfilter_targets="foodservice carpentry"
 
 ==================================================================== -->
-<!-- 
+<!--
 ================================================================
      General Options
 ================================================================ -->
   <property name="xsl.base" value="http://xmlresume.sourceforge.net/xsl"/>
 <!--  <property name="xsl.base" value="../xsl"/> -->
 <!--  <property name="xsl.base" value="../src/www/xsl"/> -->
-<!-- 
+<!--
 ================================================================
      Processing Software:
 ================================================================ -->
   <property name="xsl.processor" value="org.apache.xalan.xslt.Process"/>
   <property name="pdf.processor" value="org.apache.fop.apps.Fop"/>
-<!-- 
-RTF generation currently requires you download a separate, 
-closed-source jar file and add it to your java classpath: 
+<!--
+RTF generation currently requires you download a separate,
+closed-source jar file and add it to your java classpath:
 http://www.xmlmind.com/foconverter/downloadperso.shtml -->
   <property name="rtf.processor" value="com.xmlmind.fo.converter.Driver"/>
 <!-- You may have some luck with JFOR, an open source FO to RTF Converter: -->
     </java>
   </target>
 <!-- 		Target All 		-->
-  <target depends="txt,html,fo,pdf" name="all" 
+  <target depends="txt,html,fo,pdf" name="all"
 	description="Makes all known formats of the resume.">
 	<echo message="XXX resume = ${resume}"/>
   </target>

File lib/xml/resume/examples/example1.xml

View file
       <para>So there!</para>
     </legalnotice>
   </copyright>
-    
+
 </resume>

File lib/xml/resume/examples/example2.xml

View file
       <date><year>1987</year></date>
       <description>
         <para>SysOps4Cheap.com was a small startup whose aim was to supply
-	      sysadmins over the web.  The business failed because the 
+	      sysadmins over the web.  The business failed because the
 	      very few sysadmins could survive the process of being overnighted
 	      by FedEx.
         </para>
     <award targets="sysadmin+foodservice"><title>Sysop's Choice Award for Best Cook</title>
 	<organization>Usenix</organization>
 	<date><month>May</month><year>1987</year></date>
-    </award>    
+    </award>
   </awards>
 
 
 	    <title>Hotel restaurant management</title>
 	    <result>C</result>
 	  </subject>
-	</subjects>	  
+	</subjects>
       </degree>
     </degrees>
   </academics>
       <publisher>Deltoid Press, <url>http://www.deltoid.co/</url></publisher>
       <bookTitle>The Texas Ranger Chow Book</bookTitle>
     </pub>
-	
+
   </pubs>
 
   <interests>

File lib/xml/resume/xsl/country/br.xsl

View file
   <xsl:param name="miscellany.word">Diversos</xsl:param>
   <!-- Word to use for "in", as in "bachelor degree *in* political science" -->
   <xsl:param name="in.word">em</xsl:param>
-  <!-- Word to use for "and", as in "Minors in political science, 
+  <!-- Word to use for "and", as in "Minors in political science,
 	English, *and* business" -->
   <xsl:param name="and.word">e</xsl:param>
   <!-- Word to use for "Copyright (c)" -->

File lib/xml/resume/xsl/country/fr.xsl

View file
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
 <!-- French language notes (correct us if we're wrong:
- * Not all the words are capitalized in titles, only the first one. 
+ * Not all the words are capitalized in titles, only the first one.
  * It's T�l�phone priv�, not priv� T�l�phone
 -->
 
 
   <xsl:param name="phone.word">T&#x00e9;l&#x00e9;phone</xsl:param>
   <xsl:param name="fax.word">Facsimile</xsl:param>
-  <xsl:param name="phone.mobile.phrase">GSM</xsl:param> 
+  <xsl:param name="phone.mobile.phrase">GSM</xsl:param>
   <xsl:param name="phone.home.phrase"><xsl:value-of select="$phone.word"/> priv&#x00e9;</xsl:param>
   <xsl:param name="fax.home.phrase"><xsl:value-of select="$fax.word"/> priv&#x00e9;</xsl:param>
 

File lib/xml/resume/xsl/country/propogate-params.sh

View file
 #
 # This is a quick and VERY DIRTY way to add any new params defined
 # in us.xsl (or $SOURCE) to the rest of the country.xsl stylesheets
-# with a \"TRANSLATION NEEDED\" message.  It also checks for outdated 
+# with a \"TRANSLATION NEEDED\" message.  It also checks for outdated
 # params existing in other country.xsl files but not in $SOURCE
 #
-# IMPORTANT: After running this script, you must manually edit each 
+# IMPORTANT: After running this script, you must manually edit each
 # .xsl file and make sure that all the xsl:param tags are INSIDE the
 # <xsl:stylesheet> tags.  This script does NOT do that for you.
 #
 # screwed anything up. "
 
 echo "======== Checking Files for outdated params..."
-for country in `ls -1 *.xsl`; do 
+for country in `ls -1 *.xsl`; do
   for param in `grep '<xsl:param' $country | \
-   		perl -p -e 's/.*name=\"(.*)\"\>.*\<\/xsl:param\>/$1/g`; 
+   		perl -p -e 's/.*name=\"(.*)\"\>.*\<\/xsl:param\>/$1/g`;
   do
     exists=`grep -c $param $SOURCE`
-    if [ "0" = $exists ]; then 
+    if [ "0" = $exists ]; then
       echo "Param $param in file $country does not exist in $SOURCE."
     fi
   done
-done  
+done
 
 echo "======== Adding params in $SOURCE to other files as necessary..."
-for country in `ls -1 *.xsl`; do 
+for country in `ls -1 *.xsl`; do
   for param in `grep '<xsl:param' $SOURCE | \
-   		perl -p -e 's/.*name=\"(.*)\"\>.*\<\/xsl:param\>/$1/g`; 
+   		perl -p -e 's/.*name=\"(.*)\"\>.*\<\/xsl:param\>/$1/g`;
   do
     translated=`grep -c $param $country`
-    if [ "0" = $translated ]; 
-    then 
+    if [ "0" = $translated ];
+    then
       echo "Adding param $param to $country"
       echo "  <xsl:param name=\"$param\">TRANSLATION NEEDED</xsl:param>" >> $country
     fi

File lib/xml/resume/xsl/format/fo.xsl

View file
       <xsl:value-of select="$text"/>
     </fo:block>
   </xsl:template>
-  
+
   <!-- Header information -->
   <xsl:template match="r:header" mode="standard">
     <fo:block space-after="{$para.break.space}">
         <xsl:value-of select="$subjects.result.start"/>
         <xsl:value-of select="normalize-space(r:result)"/>
         <xsl:value-of select="$subjects.result.end"/>
-      </xsl:if>   
-    </xsl:if>   
+      </xsl:if>
+    </xsl:if>
     <xsl:if test="following-sibling::*">
       <xsl:value-of select="$subjects.separator"/>
     </xsl:if>
       <xsl:apply-templates select="r:pub"/>
     </fo:list-block>
   </xsl:template>
-  
+
   <!-- Format a single publication -->
   <xsl:template match="r:pub">
     <fo:list-item>
 
   <!-- Format an interest description -->
   <xsl:template match="r:interest/r:description">
-    <xsl:choose>  
+    <xsl:choose>
 
       <xsl:when test="$interest.description.format = 'single-line'">
         <xsl:for-each select="r:para">
 
     </xsl:choose>
   </xsl:template>
-  
+
   <!-- Format security clearance section. -->
   <xsl:template match="r:clearances">
     <!-- Heading -->
         </xsl:call-template>
       </xsl:with-param>
     </xsl:call-template>
- 
+
     <!-- Clearances -->
     <fo:list-block
         space-after="{$para.break.space}"
     </xsl:choose>
   </xsl:template>
 
-  <!-- Format a referee with the name, title, organiation in the 
+  <!-- Format a referee with the name, title, organiation in the
        left column and the address in the right column -->
   <xsl:template match="r:referee" mode="compact">
     <fo:table-row>

File lib/xml/resume/xsl/format/html.xsl

View file
 
 $Id: html.xsl,v 1.17 2002/11/10 20:48:58 brandondoyle Exp $
 -->
-<xsl:stylesheet xmlns:r="http://xmlresume.sourceforge.net/resume/0.0" 
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  version="1.0" 
+<xsl:stylesheet xmlns:r="http://xmlresume.sourceforge.net/resume/0.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  version="1.0"
  exclude-result-prefixes="r">
-  <xsl:output method="html" omit-xml-declaration="yes" indent="no" encoding="UTF-8" 
-   doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" 
+  <xsl:output method="html" omit-xml-declaration="yes" indent="no" encoding="UTF-8"
+   doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/strict.dtd"/>
-   
+
   <xsl:strip-space elements="*"/>
   <xsl:include href="../params.xsl"/>
   <xsl:include href="../lib/common.xsl"/>
     </p>
   </xsl:template>
   <xsl:template match="r:contact/r:phone">
-    <xsl:call-template name="PhoneLocation">	
+    <xsl:call-template name="PhoneLocation">
       <xsl:with-param name="Location" select="@location"/>
-    </xsl:call-template>    
+    </xsl:call-template>
     <xsl:text>: </xsl:text>
     <xsl:apply-templates/>
     <br/>
   	    <xsl:value-of select="$title.separator"/>
           </span>
 	</xsl:if>
-        <xsl:apply-templates/>	
+        <xsl:apply-templates/>
       </li>
   </xsl:template>
 

File lib/xml/resume/xsl/format/text.xsl

View file
     </xsl:call-template>
 
     <xsl:apply-templates select="r:name"/><xsl:call-template name="NewLine"/>
-    <xsl:apply-templates select="r:address"/> 
+    <xsl:apply-templates select="r:address"/>
 
     <xsl:call-template name="NewLine"/>
 
     <xsl:if test="string-length($PostCode) &gt; 0">
       <xsl:text> </xsl:text>
       <xsl:value-of select="$PostCode"/>
-    </xsl:if> 
+    </xsl:if>
     <xsl:call-template name="NewLine"/>
     <xsl:if test="r:country">
       <xsl:value-of select="normalize-space(r:country)"/>
 
     <xsl:call-template name="NewLine"/>
   </xsl:template>
-                
+
   <xsl:template match="r:period">
     <xsl:apply-templates select="r:from"/>-<xsl:apply-templates select="r:to"/>
     <xsl:if test="parent::r:job">
           <xsl:apply-templates select="r:major"/>
         </xsl:if>
         <xsl:apply-templates select="r:minor"/>
-        <xsl:if test="r:date|r:period">     
+        <xsl:if test="r:date|r:period">
           <xsl:text>, </xsl:text>
           <xsl:apply-templates select="r:date|r:period"/>
         </xsl:if>
         <xsl:value-of select="$subjects.result.start"/>
         <xsl:value-of select="normalize-space(r:result)"/>
         <xsl:value-of select="$subjects.result.end"/>
-      </xsl:if>   
-    </xsl:if>   
+      </xsl:if>
+    </xsl:if>
     <xsl:if test="following-sibling::*">
       <xsl:value-of select="$subjects.separator"/>
     </xsl:if>
   </xsl:template>
 
   <xsl:template match="r:pub">
-    <xsl:variable name="Text">   
+    <xsl:variable name="Text">
       <xsl:call-template name="FormatPub"/>
     </xsl:variable>
 
       <xsl:call-template name="NewLine"/>
       <xsl:call-template name="NewLine"/>
     </xsl:if>
-      
+
   </xsl:template>
 
   <!-- Format interests section. -->
     </xsl:call-template>
     <xsl:call-template name="NewLine"/>
   </xsl:template>
-  
+
   <!-- Format awards section. -->
   <xsl:template match="r:awards">
     <xsl:call-template name="Heading">
     </xsl:call-template>
   </xsl:template>
 
-  
+
   <!-- Format a single award. -->
   <xsl:template match="r:award">
     <xsl:call-template name="FormatBulletListItem">
   <!-- emphasis -> strong -->
   <xsl:template match="r:emphasis">
     <xsl:value-of select="$text.emphasis.start"/>
-    <xsl:value-of select="."/> 
+    <xsl:value-of select="."/>
     <xsl:value-of select="$text.emphasis.end"/>
   </xsl:template>
 

File lib/xml/resume/xsl/lib/address.xsl

View file
 
 <!--
 address.xsl
-Defines some common templates for address processing that are 
-shared by all the stylesheets. 
+Defines some common templates for address processing that are
+shared by all the stylesheets.
 
 Copyright (c) 2000-2001 Sean Kelly, Bruce Christensen
 All rights reserved.
   xmlns:r="http://xmlresume.sourceforge.net/resume/0.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
-  <!-- It would be nice if XSLT allowed variable reference in mode --> 
+  <!-- It would be nice if XSLT allowed variable reference in mode -->
   <!-- selection; then instead of the ugly template below, we'd have -->
   <!-- '<xsl:apply-templates select="r:address" mode="$address.format"/>'-->
   <!-- But it doesn't, so we need this. -->

File lib/xml/resume/xsl/lib/common.xsl

View file
 
 <!--
 common.xsl
-Defines some common templates shared by all the stylesheets. 
+Defines some common templates shared by all the stylesheets.
 
 Copyright (c) 2002 Sean Kelley and contributors
 All rights reserved.
   <!-- SKILLS ============================================================= -->
   <!-- Normalize space in skills, but preserve descendant elements. This
   replaced the following code in the r:skill template:
-  
+
   <xsl:variable name="Text">
     <xsl:apply-templates/>
   </xsl:variable>

File lib/xml/resume/xsl/lib/pub.xsl

View file
     <xsl:apply-templates/>
     <xsl:value-of select="$pub.item.separator"/>
   </xsl:template>
-  
+
   <!-- Format a URL -->
   <xsl:template match="r:pub/r:url">
     <xsl:call-template name="FormatUrl"/>

File lib/xml/resume/xsl/lib/textlayout.xsl

View file
   <xsl:template name="NewLine">
     <xsl:text>&#xA;</xsl:text>
   </xsl:template>
-  
+
   <!-- Create a heading. -->
   <xsl:template name="Heading">
     <xsl:param name="Text"/>
     <xsl:call-template name="NewLine"/>
     <xsl:call-template name="NewLine"/>
   </xsl:template>
-  
+
   <xsl:template name="NSpace">
     <xsl:param name="n" select="0"/>
     <xsl:if test="$n &gt; 0">
 
     <!-- Continue with the rest -->
   </xsl:template>
-  
+
   <!-- Center a multi-line block of text -->
   <xsl:template name="CenterBlock">
     <xsl:param name="Width" select="$text.width"/>
   <!-- Wraps $Text to $Width characters(*). Whitespace in input text is
   normalized before processing, with the exception of newlines if $KeepNewlines
   is true.
-  
+
   The first line outputted will be indented $FirstIndent spaces (Default:
   $Indent.)
 

File lib/xml/resume/xsl/misc/default.xsl

View file
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
                 xmlns="http://www.w3.org/TR/REC-html40">
-                
+
 <xsl:output method="html" indent="no"/>
 <xsl:strip-space elements="*"/>
 
             if (e.children(0).innerText.indexOf("\n") > 0)
               fix(e, "cb");
           }
-          
+
           // if this element is an inline cdata, and contains more than a single
           //  line, turn it into a block cdata.
           if (e.className == "di") {
             if (e.children(0).innerText.indexOf("\n") > 0)
               fix(e, "db");
           }
-          
+
           // remove the id since we only used it for cleanup
           e.id = "";
         }
-        
+
         // Fix up the element as a "block" display and enable expand/collapse on it
         function fix(e, cl)
         {
           // change the class name and display value
           e.className = cl;
           e.style.display = "block";
-          
+
           // mark the comment or cdata display as a expandable container
           j = e.parentElement.children(0);
           j.className = "c";
         {
           // find the +/- symbol
           mark = e.children(0).children(0);
-          
+
           // if it is already collapsed, expand it by showing the children
           if (mark.innerText == "+")
           {
             for (var i = 1; i < e.children.length; i++)
               e.children(i).style.display = "block";
           }
-          
+
           // if it is expanded, collapse it by hiding the children
           else if (mark.innerText == "-")
           {
               e.children(i).style.display="none";
           }
         }
-        
+
         // Change the +/- symbol and hide the children.  This function work on "comment"
         //  and "cdata" displays
         function ch2(e)
           // find the +/- symbol, and the "PRE" element that contains the content
           mark = e.children(0).children(0);
           contents = e.children(1);
-          
+
           // if it is already collapsed, expand it by showing the children
           if (mark.innerText == "+")
           {
               contents.style.display = "block";
             else contents.style.display = "inline";
           }
-          
+
           // if it is expanded, collapse it by hiding the children
           else if (mark.innerText == "-")
           {
             contents.style.display = "none";
           }
         }
-        
+
         // Handle a mouse click
         function cl()
         {
           e = window.event.srcElement;
-          
+
           // make sure we are handling clicks upon expandable container elements
           if (e.className != "c")
           {
             }
           }
           e = e.parentElement;
-          
+
           // call the correct funtion to change the collapse/expand state and display
           if (e.className == "e")
             ch(e);
           if (e.className == "k")
             ch2(e);
         }
-        
+
         // Erase bogus link info from the status window
         function h()
         {
 
         // Set the onclick handler
         document.onclick = cl;
-        
+
       ]]>//</xsl:comment></SCRIPT>
     </HEAD>
 
 
 <!-- Templates for each node type follows.  The output of each template has a similar structure
   to enable script to walk the result tree easily for handling user interaction. -->
-  
+
 <!-- Template for pis not handled elsewhere -->
 <xsl:template match="processing-instruction()">
   <DIV class="e">
 </xsl:template>
 
 <!-- Template for the XML declaration.  Need a separate template because the pseudo-attributes
-    are actually exposed as attributes instead of just element content, as in other pis 
+    are actually exposed as attributes instead of just element content, as in other pis
 <xsl:template match="processing-instruction('xml')">
   <DIV class="e">
   <SPAN class="b">&#160;</SPAN>
   <SPAN class="tx"><xsl:value-of select="."/></SPAN>
   </DIV></xsl:otherwise></xsl:choose>
 </xsl:template>
-  
+
 <!-- Template for comment nodes -->
 <xsl:template match="comment()">
   <DIV class="k">
   <SPAN class="m">&lt;</SPAN><SPAN class="t"><xsl:value-of select="name(.)"/></SPAN> <xsl:apply-templates select="@*"/><SPAN class="m"> /&gt;</SPAN>
   </DIV></DIV>
 </xsl:template>
-  
+
 <!-- Template for elements with comment, pi and/or cdata children
 <xsl:template match="*[comment() or processing-instruction() or cdata()]">
   <DIV class="e">

File lib/xml/resume/xsl/misc/html_contemporary.xsl

View file
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
 
-NOTE: Usage of this file is or should be 
+NOTE: Usage of this file is or should be
 deprecated.  We suggest using CSS instead.
 - brandondoyle 10/29/02
 
 					<!--<link rel="stylesheet" type="text/css">
 					<xsl:attribute name="href"><xsl:value-of select="$css.href"/></xsl:attribute>
 					</link>-->
-				
+
 				<xsl:apply-templates select="resume/keywords" mode="header"/>
 			</head>
 			<body class="resume">
 										</xsl:attribute>
 									<xsl:value-of select="contact/url"/>
 								</a>
-								</xsl:if> 
+								</xsl:if>
 							</p>	-->
 					</td>
 					<td class="address2cell">
 	</xsl:template>
 	<xsl:template match="degrees">
 		<p>
-			<xsl:apply-templates select="degree"/> 
+			<xsl:apply-templates select="degree"/>
 		</p>
 		<xsl:apply-templates select="note"/>
 	</xsl:template>
 				<xsl:apply-templates select="date/year"/>
 				<xsl:text> </xsl:text>
 			</xsl:if>
-		</div>	
+		</div>
 		<div class="institution">
 			<xsl:value-of select="institution"/>
 		</div>
 		<br/>
-		<div class="skill" style="font-size:10.0pt">	
+		<div class="skill" style="font-size:10.0pt">
 					§</div>
 		<div class="achievement">
 					<acronym class="level">
 		<div class="citystate">
 			<xsl:apply-templates select="citystate"/>
 		</div>
-		
+
 		</xsl:if>
-		<div class="jobtitle"> 
+		<div class="jobtitle">
 			<xsl:value-of select="jobtitle"/>
 		</div>
 

File lib/xml/resume/xsl/misc/html_professional.xsl

View file
 					<!--<link rel="stylesheet" type="text/css">
 					<xsl:attribute name="href"><xsl:value-of select="$css.href"/></xsl:attribute>
 					</link>-->
-				
+
 				<xsl:apply-templates select="resume/keywords" mode="header"/>
 			</head>
 			<body class="resume">
 										</xsl:attribute>
 									<xsl:value-of select="contact/url"/>
 								</a>
-								</xsl:if> 
+								</xsl:if>
 							</p>	-->
 					</td>
 					<td style="address2cell">
 	</xsl:template>
 	<xsl:template match="degrees">
 		<p class="degrees">
-			<xsl:apply-templates select="degree"/> 
+			<xsl:apply-templates select="degree"/>
 		</p>
 		<xsl:apply-templates select="note"/>
 	</xsl:template>
 			<xsl:apply-templates select="citystate"/>
 		</div>
 		</xsl:if>
-		<div class="jobtitle"> 
+		<div class="jobtitle">
 			<xsl:value-of select="jobtitle"/>
 		</div>
 

File t2/humour/bits/facts/XSLT/index.html.wml

View file
 </li>
 
 <li>
-http://he.wikipedia.org/wiki/רשע 
+http://he.wikipedia.org/wiki/רשע
 מפנה ל-XSLT.
 </li>
 

File t2/me/resumes/Shlomi-Fish-Resume.xmlresume.xml

View file
               <date><year>1987</year></date>
               <description>
                   <para>SysOps4Cheap.com was a small startup whose aim was to supply
-                      sysadmins over the web.  The business failed because the 
+                      sysadmins over the web.  The business failed because the
                       very few sysadmins could survive the process of being overnighted
                       by FedEx.
                   </para>
     <award targets="sysadmin+foodservice"><title>Sysop's Choice Award for Best Cook</title>
         <organization>Usenix</organization>
         <date><month>May</month><year>1987</year></date>
-    </award>    
+    </award>
 </awards>
 
 
                     <title>Hotel restaurant management</title>
                     <result>C</result>
                 </subject>
-            </subjects>	  
+            </subjects>
         </degree>
     </degrees>
 </academics>