these are aaronlandxsl tools

xmlresume formatting extensions

These stylesheets extend those included with the XML Résumé Library to add :

The current version of the xmlresume-extensions stylesheets is 0.4.

released February 22, 2004

source

www.aaronland.info/xsl/xmlresume/xmlresume-extensions-0.5.tar.gz

requirements

Each sets of stylesheets is expected to live in /usr/local/share/xsl. If that is not where your stylesheets live, you will need to update format/*.xsl and lib/*.xsl accordingly.

external links

The current XSL stylesheets for the XML Résumé Library do not provide any way of including the contents of the link@href attribute in any format other than HTML.

These stylesheets extend those included with the XML Résumé Library to render link elements normally, followed by a footnote-style indicator that refers a list of all external links at the bottom of your résumé.

the following markup:

<para>
 The <link href="http://search.cpan.org/dist/Net-Google">
 Net::Google</link> package was the subject of Michael 
 Schilli's article <link href =
 "http://www.linux-magazin.de/Artikel/ausgabe/2002/10/perl/perl.html">
 Google-Hupf</link>, for the German Linux Magazin. As author 
 of the package, I was interviewed for CNET New's piece on the
 Google SOAP APIs, <link href =
 "http://news.com.com/2100-1023-884546.html">Developers dig in to
 Google's toolbox</link>. Net::Google is also used as part of the
 incredibly cool <link href = 
 "http://search.cpan.org/dist/DBD-Google">DBD::Google</link>
 package.
</para>

rendered as text:

The Net::Google [1] package was the subject of Michael Schilli's
article Google-Hupf [2] , for the German Linux Magazin. As author
of the package, I was interviewed for CNET New's piece on the Google
SOAP APIs, Developers dig in to Google's toolbox [3] . Net::Google
is also used as part of the incredibly cool DBD::Google [4]
package.

# And then, at the end of the document:

External links:

 1.  http://search.cpan.org/dist/Net-Google
 2.  http://www.linux-magazin.de/Artikel/ausgabe/2002/10/perl/perl.html
 3.  http://news.com.com/2100-1023-884546.html
 4.  http://search.cpan.org/dist/DBD-Google

rendered as HTML:

The Net::Google[1] package was the subject of Michael Schilli's
article Google-Hupf[2] , for the German Linux Magazin. As author
of the package, I was interviewed for CNET New's piece on the Google
SOAP APIs, Developers dig in to Google's toolbox[3] . Net::Google
is also used as part of the incredibly cool DBD::Google[4] package.

<!-- And then at the end of the document -->

External links

  1. http://search.cpan.org/dist/Net-Google
  2. http://www.linux-magazin.de/Artikel/ausgabe/2002/10/perl/perl.html
  3. http://news.com.com/2100-1023-884546.html
  4. http://search.cpan.org/dist/DBD-Google

A separate list of external links is generated for HTML renderings in case the viewer wants to print your résumé and be able to refer to, or note, external links while offline.

rendered as XSL-FO/PDF:

# real soon now. 
# it's pretty much just like the text rendering.

changing the header for external links

The default header for external links is "External links". It may be changed by setting the value of the extrefs.word string parameter.

$> xsltproc \
 --stringparam extrefs.word 'Elvis has left the building' \
 -o ~/resume.html \
 /usr/local/share/xmlresume-extensions/format/html.xsl \
 ~/my-resume.xml

excluding your address or phone number

example

$> xstlproc \
   --param header.address.display 0 \
   --param header.phone.display 0 \
   -o /path/to/output.format
   /path/to/xmlresume-extensions/format.xsl
   /path/to/my-resume.xml

defining one or more CSS stylesheets

example

# This is only applicable to HTML output

$> xstlproc \
   --param css.embed 0 \
   --stringparam css_screen 'screen.css screen' \
   -o /path/to/my-resume.html
   /path/to/xmlresume-extensions/html.xsl
   /path/to/my-resume.xml

These stylesheets imports the add-css-links library. Please consult its documentation for complete usage.

extensions to the xml résumé dtd

These stylesheets support the following extensions to the XML Résumé dtd.

activities

Activities are personal, or group, projects that are not directly "work" related. The activities element, and its children, are rendered in the same manner as the history element, and its children, are.

<!DOCTYPE resume PUBLIC 
 "-//Sean Kelly//DTD Resume 1.5.1//EN"
 "http://xmlresume.sourceforge.net/dtd/resume.dtd" [
 <!ENTITY % sections
 "(objective|history|academics|skillareas|skillarea|
   pubs|misc|referees|keywords|memberships|interests|
   clearances|awards|activities)">
 <!ELEMENT activities (activity+)>
 <!ELEMENT activity (title,(date|period),description,projects)>
]>

changing the header for activities

The default header for activies is "Personal projects and activities". It may be changed by setting the value of the activities.word string parameter.

$> xsltproc \
 --stringparam activities.word 'I can't seem to stop working' \
 -o ~/resume.html \
 /usr/local/share/xmlresume-extensions/format/html.xsl \
 ~/my-resume.xml

notes

There is a bug in the fo.xsl stylesheet that is preventing size-related parameters from being imported. I suspect that this is a conflict involving the params.xsl stylesheet defined by this package but I haven't had a chance to investigate thoroughly. An ugly ugly workaround is to add the following to fo.xsl:

 # Or a4.xsl if you prefer
 <xsl:include href = "/usr/local/share/xsl/resume/paper/letter.xsl" />

The stylesheet for pruning elements from the source document doesn't try to accomodate documents with customized DOCTYPES or ENTITY declarations; it just gets too hairy too fast in any kind of abstract, generalized context. It is 'possible' and if you're in to this kind of thing, you should consult: http://www.dpawson.co.uk/xsl/sect2/N2281.html#d2791e181

changes

xmlresume-extensions-changes.txt

previous releases

license

Copyright © 2003-2004 Aaron Straup Cope. 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 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.