The Curriculum Vitae example, located in the cv
sub-directory, is a large, comprehensive document that illustrates most of HR-XSL's features. It is based on the actual CV of a university professor. To create a PDF, HTML, or plain text version of this example, go to the command line and type ant pdf
, ant html
, or ant text
, respectively.
Some of the features demonstrated in this CV are:
Functional employment history.
Employment histories are typically presented in one of two forms: chronological or functional. The former lists each job in order as a single group, while the latter separates the job descriptions into categories. HR-XSL supports both types, and the CV example given here shows the functional type. Notice how each job specifies an OrgIndustry/IndustryDescription
element, which is then used by HR-XSL to group the jobs into categories.
Customized elements.
The HR-XML Resume specification provides built-in categories for certain elements. For example, an Association is expected to be one of: Professional, Social, Community, Non-Profit, Religious, or Political. However, these categories are very broad, and some users may wish to be more specific. Luckily, the HR-XML Resume specification allows this; simply prefix the custom category name with the string x:
. The CV example given here shows how this is done for the Associations
and ResumeAdditionalItems
elements.
HR-XML “hacks”.
Some users may have unusual requirements for their CV. The university professor in this example wanted to list the names of all the courses he has taught throughout his career. Although the HR-XML Resume specification has no element to contain such information, it is possible to include it by “hacking” the spec. Here, the course information is stored as a single employment position, even though multiple jobs are represented by each course. In addition, the Teaching job category is used, and the EmployerOrgName
element is left empty. As a result, HR-XSL correctly formats the list of courses as the user desired. Although this kind of “hack” is not recommended when exchanging HR-XML data with others, it is useful when the user only wishes to create an HR-XML Resume document for internal use.