<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-ZA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi All,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I appropriated the XEP XSL for use in one of the projects I
am working on. I found one thing, the <spec> element could really become useful.
For example:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>See <spec>0001</spec> on how to write XEP
documents.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Here are the changes I made:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><</span><span style='font-size:10.0pt;
font-family:"Courier New";color:#2B91AF'>xsl:template</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>match</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>spec</span>'<span
style='color:blue'> </span><span style='color:red'>mode</span><span
style='color:blue'>=</span>'<span style='color:blue'>list</span>'<span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> <</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:param</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>name</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>speccount</span>'<span
style='color:blue'> </span><span style='color:red'>select</span><span
style='color:blue'>=</span>'<span style='color:blue'>""</span>'<span
style='color:blue'>/><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> <</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:variable</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>name</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>specpos</span>'<span
style='color:blue'> </span><span style='color:red'>select</span><span
style='color:blue'>=</span>'<span style='color:blue'>position()</span>'<span
style='color:blue'>/><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> <</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:choose</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> <</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:when</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>test</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>$specpos
</span><span style='color:red'>&lt;</span><span style='color:blue'>
$speccount</span>'<span style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515'>a</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:attribute</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>name</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>href</span>'<span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:text</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Courier New"'>http://www.xmpp.org/extensions/xep-<span
style='color:blue'></</span><span style='color:#2B91AF'>xsl:text</span><span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:value-of</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>select</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>.</span>'<span
style='color:blue'> /><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:text</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Courier New"'>.html<span style='color:
blue'></</span><span style='color:#2B91AF'>xsl:text</span><span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
</</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:attribute</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>
XEP-<span style='color:blue'><</span><span style='color:#2B91AF'>xsl:value-of</span><span
style='color:blue'> </span><span style='color:red'>select</span><span
style='color:blue'>=</span>'<span style='color:blue'>.</span>'<span
style='color:blue'>/><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
</</span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515'>a</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:text</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Courier New"'>, <span style='color:blue'></</span><span
style='color:#2B91AF'>xsl:text</span><span style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> </</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:when</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> <</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:otherwise</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515'>a</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:attribute</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>name</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>href</span>'<span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:text</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Courier New"'>http://www.xmpp.org/extensions/xep-<span
style='color:blue'></</span><span style='color:#2B91AF'>xsl:text</span><span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:value-of</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>select</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>.</span>'<span
style='color:blue'> /><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:text</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Courier New"'>.html<span style='color:
blue'></</span><span style='color:#2B91AF'>xsl:text</span><span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
</</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:attribute</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'>
XEP-<span style='color:blue'><</span><span style='color:#2B91AF'>xsl:value-of</span><span
style='color:blue'> </span><span style='color:red'>select</span><span
style='color:blue'>=</span>'<span style='color:blue'>.</span>'<span
style='color:blue'>/><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
</</span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515'>a</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> </</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:otherwise</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> </</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:choose</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'> </</span><span style='font-size:10.0pt;font-family:"Courier New";
color:#2B91AF'>xsl:template</span><span style='font-size:10.0pt;font-family:
"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'>---------------<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><</span><span style='font-size:10.0pt;
font-family:"Courier New";color:#2B91AF'>xsl:choose</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:when</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>test</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>$dependencies.count
</span><span style='color:red'>&gt;</span><span style='color:blue'> 0</span>'<span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:text</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Courier New"'>Dependencies: <span
style='color:blue'></</span><span style='color:#2B91AF'>xsl:text</span><span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:apply-templates</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>select</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>/xep/header/dependencies/spec</span>'<span
style='color:blue'> </span><span style='color:red'>mode</span><span
style='color:blue'>=</span>'<span style='color:blue'>list</span>'<span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:with-param</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>name</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>speccount</span>'<span
style='color:blue'> </span><span style='color:red'>select</span><span
style='color:blue'>=</span>'<span style='color:blue'>$dependencies.count</span>'<span
style='color:blue'>/><o:p></o:p></span></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'>
</</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:apply-templates</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><!-- Apply to others in header --><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'>---------------<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> <</span><span style='font-size:
10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:template</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>match</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>spec</span>'<span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> <</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#A31515'>a</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> <</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:attribute</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>name</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>href</span>'<span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:text</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Courier New"'> http://www.xmpp.org/extensions/xep-<span
style='color:blue'></</span><span style='color:#2B91AF'>xsl:text</span><span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:value-of</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:red'>select</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>=</span><span
style='font-size:10.0pt;font-family:"Courier New"'>'<span style='color:blue'>.</span>'<span
style='color:blue'> /><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'>
<</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:text</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>></span><span
style='font-size:10.0pt;font-family:"Courier New"'>.html<span style='color:
blue'></</span><span style='color:#2B91AF'>xsl:text</span><span
style='color:blue'>><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> </</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#2B91AF'>xsl:attribute</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'> XEP-<span
style='color:blue'><</span><span style='color:#2B91AF'>xsl:value-of</span><span
style='color:blue'> </span><span style='color:red'>select</span><span
style='color:blue'>=</span>'<span style='color:blue'>.</span>'<span
style='color:blue'>/><o:p></o:p></span></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:blue'> </</span><span
style='font-size:10.0pt;font-family:"Courier New";color:#A31515'>a</span><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'> </</span><span style='font-size:10.0pt;font-family:"Courier New";
color:#2B91AF'>xsl:template</span><span style='font-size:10.0pt;font-family:
"Courier New";color:blue'>><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'>--------------<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><!-- Include it in all the presentational groups in the xsd.
--><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal>It made my life a little easier. I am sure you could even
write one that automagically handles footnotes etc.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>e.g. <spec source='ietf' number='0001'>The
Internet</spec><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Would result in:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><a href="#spec-ietf-0001'>[RFC 0001]</a><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>And in the footer:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[<a href="http://www.ietf.org/rfc/rfc2119.txt">RFC
0001</a>] – The internet<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Jonathan<o:p></o:p></p>
</div>
</body>
</html>