1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/examples/Common/Candidate/Resources/candidate_display_template.xhtml Tue Nov 15 00:25:51 2005 +0000
1.3 @@ -0,0 +1,59 @@
1.4 +<?xml version="1.0" encoding="iso-8859-1"?>
1.5 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
1.6 + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
1.7 +<html xmlns="http://www.w3.org/1999/xhtml"
1.8 + xmlns:template="http://www.boddie.org.uk/ns/xmltools/template">
1.9 +<head>
1.10 + <title>Candidate</title>
1.11 +</head>
1.12 +<body template:element="candidate">
1.13 +
1.14 +<h1>Candidate Details</h1>
1.15 +
1.16 +<table border="0" cellspacing="0" cellpadding="5" width="80%" align="left">
1.17 + <tbody>
1.18 + <tr template:element="identity">
1.19 + <th width="30%">Name</th>
1.20 + <td width="70%">
1.21 + <span template:if="not(@anonymous = 'true')" template:attribute-area="name,replace">...</span>
1.22 + <span template:if="@anonymous = 'true'"><strong>Candidate name withheld</strong></span>
1.23 + </td>
1.24 + </tr>
1.25 + <tr>
1.26 + <th width="30%">Work status</th>
1.27 + <td width="70%">
1.28 + <span template:element="status" template:value="@value">...</span>
1.29 + </td>
1.30 + </tr>
1.31 + <tr>
1.32 + <th width="30%">Skills</th>
1.33 + <td width="70%">
1.34 + <span template:element="skills,skill" template:attribute="value">
1.35 + <span template:effect="replace" template:value="$this-value">...</span><br/>
1.36 + </span>
1.37 + </td>
1.38 + </tr>
1.39 + <tr>
1.40 + <th width="30%">Qualifications</th>
1.41 + <td width="70%" xml:space="preserve">
1.42 + <span template:element="qualifications,qualification">
1.43 + <span template:attribute-area="title,replace">...</span>
1.44 + <span template:attribute-area="grade,replace">...</span>
1.45 + <span template:attribute-area="institution,replace">...</span>
1.46 + </span>
1.47 + </td>
1.48 + </tr>
1.49 + <tr template:element="experience,employment">
1.50 + <th width="30%">
1.51 + From <span template:attribute-area="from,replace">...</span>
1.52 + to <span template:attribute-area="to,replace">...</span>
1.53 + </th>
1.54 + <td width="70%">
1.55 + <span template:attribute-area="employer,replace">...</span>
1.56 + </td>
1.57 + </tr>
1.58 + </tbody>
1.59 +</table>
1.60 +
1.61 +</body>
1.62 +</html>