paulb@233 | 1 | <?xml version="1.0"?> |
paulb@274 | 2 | <!-- |
paul@674 | 3 | Copyright (C) 2005, 2006, 2007, 2008 Paul Boddie <paul@boddie.org.uk> |
paulb@274 | 4 | |
paulb@620 | 5 | This program is free software; you can redistribute it and/or modify it under |
paulb@620 | 6 | the terms of the GNU Lesser General Public License as published by the Free |
paulb@620 | 7 | Software Foundation; either version 3 of the License, or (at your option) any |
paulb@620 | 8 | later version. |
paulb@274 | 9 | |
paulb@620 | 10 | This program is distributed in the hope that it will be useful, but WITHOUT |
paulb@620 | 11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
paulb@620 | 12 | FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
paulb@620 | 13 | details. |
paulb@274 | 14 | |
paulb@620 | 15 | You should have received a copy of the GNU Lesser General Public License along |
paulb@620 | 16 | with this program. If not, see <http://www.gnu.org/licenses/>. |
paulb@274 | 17 | --> |
paulb@233 | 18 | <xsl:stylesheet version="1.0" |
paulb@233 | 19 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
paulb@489 | 20 | xmlns:template="http://www.boddie.org.uk/ns/xmltools/template" |
paulb@489 | 21 | xmlns:str="http://exslt.org/strings" |
paulb@489 | 22 | extension-element-prefixes="str"> |
paulb@233 | 23 | |
paulb@233 | 24 | <xsl:output indent="yes"/> |
paulb@233 | 25 | |
paulb@233 | 26 | |
paulb@233 | 27 | |
paulb@233 | 28 | <!-- Match the document itself. --> |
paulb@233 | 29 | |
paulb@233 | 30 | <xsl:template match="/"> |
paulb@233 | 31 | <!-- Process the elements. --> |
paulb@233 | 32 | <xsl:apply-templates select="*"/> |
paulb@233 | 33 | </xsl:template> |
paulb@233 | 34 | |
paulb@233 | 35 | |
paulb@233 | 36 | |
paulb@233 | 37 | <!-- Match element references. --> |
paulb@233 | 38 | |
paulb@489 | 39 | <xsl:template match="*[@template:element]" priority="1"> |
paulb@233 | 40 | <xsl:call-template name="enter-element"> |
paulb@233 | 41 | <xsl:with-param name="other-elements" select="@template:element"/> |
paulb@284 | 42 | <xsl:with-param name="other-init" select="@template:init"/> |
paulb@233 | 43 | </xsl:call-template> |
paulb@233 | 44 | </xsl:template> |
paulb@233 | 45 | |
paulb@233 | 46 | <xsl:template name="enter-element"> |
paulb@233 | 47 | <xsl:param name="other-elements"/> |
paulb@284 | 48 | <xsl:param name="other-init"/> |
paulb@233 | 49 | <xsl:variable name="first-element" select="substring-before($other-elements, ',')"/> |
paulb@233 | 50 | <xsl:variable name="remaining-elements" select="substring-after($other-elements, ',')"/> |
paulb@284 | 51 | <xsl:variable name="first-init" select="substring-before($other-init, ',')"/> |
paulb@284 | 52 | <xsl:variable name="remaining-init" select="substring-after($other-init, ',')"/> |
paulb@233 | 53 | <xsl:choose> |
paul@674 | 54 | <xsl:when test="@template:output"> |
paul@674 | 55 | <!-- Output elements are omitted from the schema and are only used to produce output. --> |
paul@674 | 56 | </xsl:when> |
paulb@233 | 57 | <xsl:when test="$first-element = ''"> |
paulb@233 | 58 | <xsl:call-template name="next-element"> |
paulb@233 | 59 | <xsl:with-param name="first-element" select="$other-elements"/> |
paulb@284 | 60 | <xsl:with-param name="first-init" select="$other-init"/> |
paulb@233 | 61 | </xsl:call-template> |
paulb@233 | 62 | </xsl:when> |
paulb@233 | 63 | <xsl:otherwise> |
paulb@233 | 64 | <xsl:call-template name="next-element"> |
paulb@233 | 65 | <xsl:with-param name="first-element" select="$first-element"/> |
paulb@233 | 66 | <xsl:with-param name="remaining-elements" select="$remaining-elements"/> |
paulb@284 | 67 | <xsl:with-param name="first-init" select="$first-init"/> |
paulb@284 | 68 | <xsl:with-param name="remaining-init" select="$remaining-init"/> |
paulb@233 | 69 | </xsl:call-template> |
paulb@233 | 70 | </xsl:otherwise> |
paulb@233 | 71 | </xsl:choose> |
paulb@233 | 72 | </xsl:template> |
paulb@233 | 73 | |
paulb@233 | 74 | <xsl:template name="next-element"> |
paulb@233 | 75 | <xsl:param name="first-element"/> |
paulb@233 | 76 | <xsl:param name="remaining-elements"/> |
paulb@284 | 77 | <xsl:param name="first-init"/> |
paulb@284 | 78 | <xsl:param name="remaining-init"/> |
paulb@489 | 79 | <!-- Test for recursive references. --> |
paulb@489 | 80 | <xsl:variable name="recursive-element" select="ancestor::*[$first-element = str:split(@template:element, ',')[1]]"/> |
paulb@489 | 81 | <xsl:choose> |
paulb@489 | 82 | <!-- Generate a reference to the previous element definition. --> |
paulb@489 | 83 | <xsl:when test="$recursive-element"> |
paulb@489 | 84 | <element-ref> |
paulb@489 | 85 | <xsl:attribute name="name"><xsl:value-of select="$first-element"/></xsl:attribute> |
paulb@489 | 86 | </element-ref> |
paulb@489 | 87 | </xsl:when> |
paulb@489 | 88 | <!-- Generate a normal, nested element definition. --> |
paulb@489 | 89 | <xsl:otherwise> |
paulb@489 | 90 | <element> |
paulb@489 | 91 | <xsl:attribute name="name"><xsl:value-of select="$first-element"/></xsl:attribute> |
paulb@489 | 92 | <xsl:if test="$first-init != ''"> |
paulb@489 | 93 | <xsl:attribute name="init"><xsl:value-of select="$first-init"/></xsl:attribute> |
paulb@489 | 94 | </xsl:if> |
paulb@489 | 95 | <xsl:choose> |
paulb@489 | 96 | <xsl:when test="$remaining-elements = ''"> |
paulb@489 | 97 | <xsl:call-template name="enter-attribute"/> |
paulb@489 | 98 | </xsl:when> |
paulb@489 | 99 | <xsl:otherwise> |
paulb@489 | 100 | <xsl:call-template name="enter-element"> |
paulb@489 | 101 | <xsl:with-param name="other-elements" select="$remaining-elements"/> |
paulb@489 | 102 | <xsl:with-param name="other-init" select="$remaining-init"/> |
paulb@489 | 103 | </xsl:call-template> |
paulb@489 | 104 | </xsl:otherwise> |
paulb@489 | 105 | </xsl:choose> |
paulb@489 | 106 | </element> |
paulb@489 | 107 | </xsl:otherwise> |
paulb@489 | 108 | </xsl:choose> |
paulb@233 | 109 | </xsl:template> |
paulb@233 | 110 | |
paulb@233 | 111 | |
paulb@233 | 112 | |
paulb@233 | 113 | <!-- Match attributes. --> |
paulb@233 | 114 | |
paulb@489 | 115 | <xsl:template match="*[@template:attribute or @template:attribute-field or @template:attribute-area or @template:attribute-button or @template:attribute-list-button or @template:selector-field or @template:multiple-choice-field or @template:multiple-choice-list-field or @template:multiple-choice-value or @template:multiple-choice-list-value or @template:multiple-choice-list-element]"> |
paulb@233 | 116 | <xsl:call-template name="enter-attribute"/> |
paulb@233 | 117 | </xsl:template> |
paulb@233 | 118 | |
paulb@233 | 119 | <xsl:template name="enter-attribute"> |
paulb@233 | 120 | <xsl:choose> |
paulb@233 | 121 | <xsl:when test="@template:attribute"> |
paulb@245 | 122 | <attribute> |
paulb@233 | 123 | <xsl:attribute name="name"><xsl:value-of select="@template:attribute"/></xsl:attribute> |
paulb@245 | 124 | </attribute> |
paulb@233 | 125 | </xsl:when> |
paulb@258 | 126 | <xsl:when test="@template:attribute-field"> |
paulb@258 | 127 | <attribute> |
paulb@258 | 128 | <xsl:attribute name="name"><xsl:value-of select="@template:attribute-field"/></xsl:attribute> |
paulb@258 | 129 | </attribute> |
paulb@258 | 130 | </xsl:when> |
paulb@258 | 131 | <xsl:when test="@template:attribute-area"> |
paulb@258 | 132 | <attribute> |
paulb@281 | 133 | <xsl:variable name="field-attr" select="substring-before(@template:attribute-area, ',')"/> |
paulb@281 | 134 | <xsl:choose> |
paulb@281 | 135 | <xsl:when test="$field-attr != ''"> |
paulb@281 | 136 | <xsl:attribute name="name"><xsl:value-of select="$field-attr"/></xsl:attribute> |
paulb@281 | 137 | </xsl:when> |
paulb@281 | 138 | <xsl:otherwise> |
paulb@281 | 139 | <xsl:attribute name="name"><xsl:value-of select="@template:attribute-area"/></xsl:attribute> |
paulb@281 | 140 | </xsl:otherwise> |
paulb@281 | 141 | </xsl:choose> |
paulb@258 | 142 | </attribute> |
paulb@258 | 143 | </xsl:when> |
paulb@258 | 144 | <xsl:when test="@template:attribute-button"> |
paulb@258 | 145 | <attribute> |
paulb@258 | 146 | <xsl:variable name="field-attr" select="substring-before(@template:attribute-button, ',')"/> |
paulb@258 | 147 | <xsl:attribute name="name"><xsl:value-of select="$field-attr"/></xsl:attribute> |
paulb@258 | 148 | </attribute> |
paulb@258 | 149 | </xsl:when> |
paulb@281 | 150 | <xsl:when test="@template:attribute-list-button"> |
paulb@281 | 151 | <attribute> |
paulb@281 | 152 | <xsl:variable name="field-attr" select="substring-before(@template:attribute-list-button, ',')"/> |
paulb@281 | 153 | <xsl:attribute name="name"><xsl:value-of select="$field-attr"/></xsl:attribute> |
paulb@281 | 154 | </attribute> |
paulb@281 | 155 | </xsl:when> |
paulb@258 | 156 | <xsl:when test="@template:selector-field"> |
paulb@258 | 157 | <xsl:variable name="field-name" select="substring-before(@template:selector-field, ',')"/> |
paulb@258 | 158 | <xsl:variable name="affected-element" select="substring-after(@template:selector-field, ',')"/> |
paulb@258 | 159 | <selector> |
paulb@258 | 160 | <xsl:choose> |
paulb@258 | 161 | <xsl:when test="$field-name != ''"> |
paulb@258 | 162 | <xsl:attribute name="name"><xsl:value-of select="$field-name"/></xsl:attribute> |
paulb@258 | 163 | <xsl:attribute name="element"><xsl:value-of select="$affected-element"/></xsl:attribute> |
paulb@258 | 164 | </xsl:when> |
paulb@258 | 165 | <xsl:otherwise> |
paulb@258 | 166 | <xsl:attribute name="name"><xsl:value-of select="@template:selector-field"/></xsl:attribute> |
paulb@258 | 167 | </xsl:otherwise> |
paulb@258 | 168 | </xsl:choose> |
paulb@258 | 169 | </selector> |
paulb@258 | 170 | </xsl:when> |
paulb@258 | 171 | <xsl:when test="@template:multiple-choice-field"> |
paulb@262 | 172 | <xsl:variable name="field-element" select="substring-before(@template:multiple-choice-field, ',')"/> |
paulb@282 | 173 | <xsl:variable name="field-attr-info" select="substring-after(@template:multiple-choice-field, ',')"/> |
paulb@282 | 174 | <xsl:variable name="field-attr" select="substring-before($field-attr-info, ',')"/> |
paulb@466 | 175 | <xsl:variable name="field-attr-type-info" select="substring-after($field-attr-info, ',')"/> |
paulb@466 | 176 | <xsl:variable name="field-attr-type" select="substring-before($field-attr-type-info, ',')"/> |
paulb@466 | 177 | <xsl:variable name="field-source-type" select="substring-after($field-attr-type-info, ',')"/> |
paulb@262 | 178 | <xsl:choose> |
paulb@262 | 179 | <xsl:when test="$field-element != '-'"> |
paulb@262 | 180 | <element type="multiple-choice"> |
paulb@262 | 181 | <xsl:attribute name="name"><xsl:value-of select="$field-element"/></xsl:attribute> |
paulb@466 | 182 | <xsl:if test="$field-source-type = 'dynamic'"> |
paulb@466 | 183 | <xsl:attribute name="source">dynamic</xsl:attribute> |
paulb@466 | 184 | </xsl:if> |
paulb@262 | 185 | <attribute> |
paulb@282 | 186 | <xsl:choose> |
paulb@282 | 187 | <xsl:when test="$field-attr != ''"> |
paulb@282 | 188 | <xsl:attribute name="name"><xsl:value-of select="$field-attr"/></xsl:attribute> |
paulb@282 | 189 | </xsl:when> |
paulb@282 | 190 | <xsl:otherwise> |
paulb@282 | 191 | <xsl:attribute name="name"><xsl:value-of select="$field-attr-info"/></xsl:attribute> |
paulb@282 | 192 | </xsl:otherwise> |
paulb@282 | 193 | </xsl:choose> |
paulb@262 | 194 | </attribute> |
paulb@262 | 195 | <xsl:apply-templates select="*"/> |
paulb@262 | 196 | </element> |
paulb@262 | 197 | </xsl:when> |
paulb@262 | 198 | <xsl:otherwise> |
paulb@262 | 199 | <xsl:attribute name="type">multiple-choice</xsl:attribute> |
paulb@466 | 200 | <xsl:if test="$field-source-type = 'dynamic'"> |
paulb@466 | 201 | <xsl:attribute name="source">dynamic</xsl:attribute> |
paulb@466 | 202 | </xsl:if> |
paulb@262 | 203 | <attribute> |
paulb@282 | 204 | <xsl:choose> |
paulb@282 | 205 | <xsl:when test="$field-attr != ''"> |
paulb@282 | 206 | <xsl:attribute name="name"><xsl:value-of select="$field-attr"/></xsl:attribute> |
paulb@282 | 207 | </xsl:when> |
paulb@282 | 208 | <xsl:otherwise> |
paulb@282 | 209 | <xsl:attribute name="name"><xsl:value-of select="$field-attr-info"/></xsl:attribute> |
paulb@282 | 210 | </xsl:otherwise> |
paulb@282 | 211 | </xsl:choose> |
paulb@262 | 212 | </attribute> |
paulb@262 | 213 | <xsl:apply-templates select="*"/> |
paulb@262 | 214 | </xsl:otherwise> |
paulb@262 | 215 | </xsl:choose> |
paulb@258 | 216 | </xsl:when> |
paulb@258 | 217 | <xsl:when test="@template:multiple-choice-list-field"> |
paulb@262 | 218 | <xsl:variable name="field-element" select="substring-before(@template:multiple-choice-list-field, ',')"/> |
paulb@262 | 219 | <xsl:variable name="field-list-info" select="substring-after(@template:multiple-choice-list-field, ',')"/> |
paulb@262 | 220 | <xsl:variable name="field-list-element" select="substring-before($field-list-info, ',')"/> |
paulb@466 | 221 | <xsl:variable name="field-list-attr-info" select="substring-after($field-list-info, ',')"/> |
paulb@466 | 222 | <xsl:variable name="field-list-attr" select="substring-before($field-list-attr-info, ',')"/> |
paulb@466 | 223 | <xsl:variable name="field-source-type" select="substring-after($field-list-attr-info, ',')"/> |
paulb@262 | 224 | <xsl:choose> |
paulb@262 | 225 | <xsl:when test="$field-element != '-'"> |
paulb@262 | 226 | <element type="multiple-choice-list"> |
paulb@262 | 227 | <xsl:attribute name="name"><xsl:value-of select="$field-element"/></xsl:attribute> |
paulb@466 | 228 | <xsl:if test="$field-source-type = 'dynamic'"> |
paulb@466 | 229 | <xsl:attribute name="source">dynamic</xsl:attribute> |
paulb@466 | 230 | </xsl:if> |
paulb@262 | 231 | <attribute> |
paulb@262 | 232 | <xsl:attribute name="name"><xsl:value-of select="$field-list-attr"/></xsl:attribute> |
paulb@262 | 233 | </attribute> |
paulb@262 | 234 | <xsl:apply-templates select="*"/> |
paulb@262 | 235 | </element> |
paulb@262 | 236 | </xsl:when> |
paulb@262 | 237 | <xsl:otherwise> |
paulb@262 | 238 | <xsl:attribute name="type">multiple-choice-list</xsl:attribute> |
paulb@466 | 239 | <xsl:if test="$field-source-type = 'dynamic'"> |
paulb@466 | 240 | <xsl:attribute name="source">dynamic</xsl:attribute> |
paulb@466 | 241 | </xsl:if> |
paulb@262 | 242 | <attribute> |
paulb@262 | 243 | <xsl:attribute name="name"><xsl:value-of select="$field-list-attr"/></xsl:attribute> |
paulb@262 | 244 | </attribute> |
paulb@262 | 245 | <xsl:apply-templates select="*"/> |
paulb@262 | 246 | </xsl:otherwise> |
paulb@262 | 247 | </xsl:choose> |
paulb@258 | 248 | </xsl:when> |
paulb@281 | 249 | <xsl:when test="@template:multiple-choice-list-element"> |
paulb@281 | 250 | <xsl:variable name="element" select="substring-before(@template:multiple-choice-list-element, ',')"/> |
paulb@281 | 251 | <xsl:variable name="element-list-info" select="substring-after(@template:multiple-choice-list-element, ',')"/> |
paulb@281 | 252 | <xsl:variable name="element-list-element" select="substring-before($element-list-info, ',')"/> |
paulb@281 | 253 | <xsl:variable name="element-list-attr" select="substring-after($element-list-info, ',')"/> |
paulb@281 | 254 | <xsl:choose> |
paulb@281 | 255 | <xsl:when test="$element != '-'"> |
paulb@281 | 256 | <element type="multiple-choice-list"> |
paulb@281 | 257 | <xsl:attribute name="name"><xsl:value-of select="$element"/></xsl:attribute> |
paulb@281 | 258 | <element type="multiple-choice-list-value"> |
paulb@281 | 259 | <xsl:attribute name="name"><xsl:value-of select="$element-list-element"/></xsl:attribute> |
paulb@281 | 260 | <xsl:attribute name="expr-name">value-is-set</xsl:attribute> |
paulb@281 | 261 | <xsl:apply-templates select="*"/> |
paulb@281 | 262 | </element> |
paulb@281 | 263 | </element> |
paulb@281 | 264 | </xsl:when> |
paulb@281 | 265 | <xsl:otherwise> |
paulb@281 | 266 | <xsl:attribute name="type">multiple-choice-list</xsl:attribute> |
paulb@281 | 267 | <element type="multiple-choice-list-value"> |
paulb@281 | 268 | <xsl:attribute name="name"><xsl:value-of select="$element-list-element"/></xsl:attribute> |
paulb@281 | 269 | <xsl:attribute name="expr-name">value-is-set</xsl:attribute> |
paulb@281 | 270 | <xsl:apply-templates select="*"/> |
paulb@281 | 271 | </element> |
paulb@281 | 272 | </xsl:otherwise> |
paulb@281 | 273 | </xsl:choose> |
paulb@281 | 274 | </xsl:when> |
paulb@258 | 275 | <xsl:when test="@template:multiple-choice-value"> |
paulb@258 | 276 | <element type="multiple-choice-value"> |
paulb@258 | 277 | <xsl:variable name="field-element" select="substring-before(@template:multiple-choice-value, ',')"/> |
paulb@258 | 278 | <xsl:variable name="field-attr-info" select="substring-after(@template:multiple-choice-value, ',')"/> |
paulb@258 | 279 | <xsl:variable name="field-attr" select="substring-before($field-attr-info, ',')"/> |
paulb@466 | 280 | <xsl:variable name="field-set-attr-info" select="substring-after($field-attr-info, ',')"/> |
paulb@466 | 281 | <xsl:variable name="field-set-attr" select="substring-before($field-set-attr-info, ',')"/> |
paulb@466 | 282 | <xsl:variable name="field-contents" select="substring-after($field-set-attr-info, ',')"/> |
paulb@258 | 283 | <xsl:attribute name="name"><xsl:value-of select="$field-element"/></xsl:attribute> |
paulb@258 | 284 | <xsl:attribute name="expr">@<xsl:value-of select="$field-attr"/> = ../@<xsl:value-of select="$field-attr"/></xsl:attribute> |
paulb@466 | 285 | <xsl:choose> |
paulb@466 | 286 | <xsl:when test="$field-set-attr != ''"> |
paulb@466 | 287 | <xsl:attribute name="expr-attr"><xsl:value-of select="$field-set-attr"/></xsl:attribute> |
paulb@466 | 288 | </xsl:when> |
paulb@466 | 289 | <xsl:otherwise> |
paulb@466 | 290 | <xsl:attribute name="expr-attr"><xsl:value-of select="$field-set-attr-info"/></xsl:attribute> |
paulb@466 | 291 | </xsl:otherwise> |
paulb@466 | 292 | </xsl:choose> |
paulb@258 | 293 | <attribute> |
paulb@258 | 294 | <xsl:attribute name="name"><xsl:value-of select="$field-attr"/></xsl:attribute> |
paulb@258 | 295 | </attribute> |
paulb@258 | 296 | </element> |
paulb@258 | 297 | </xsl:when> |
paulb@258 | 298 | <xsl:when test="@template:multiple-choice-list-value"> |
paulb@258 | 299 | <element type="multiple-choice-list-value"> |
paulb@258 | 300 | <xsl:variable name="field-element" select="substring-before(@template:multiple-choice-list-value, ',')"/> |
paulb@258 | 301 | <xsl:variable name="field-attr-info" select="substring-after(@template:multiple-choice-list-value, ',')"/> |
paulb@258 | 302 | <xsl:variable name="field-attr" select="substring-before($field-attr-info, ',')"/> |
paulb@466 | 303 | <xsl:variable name="field-set-attr-info" select="substring-after($field-attr-info, ',')"/> |
paulb@466 | 304 | <xsl:variable name="field-set-attr" select="substring-before($field-set-attr-info, ',')"/> |
paulb@466 | 305 | <xsl:variable name="field-contents" select="substring-after($field-set-attr-info, ',')"/> |
paulb@258 | 306 | <xsl:attribute name="name"><xsl:value-of select="$field-element"/></xsl:attribute> |
paulb@258 | 307 | <xsl:attribute name="expr">@value-is-set</xsl:attribute> |
paulb@258 | 308 | <!-- Special attribute corresponding with the expression. --> |
paulb@258 | 309 | <xsl:attribute name="expr-name">value-is-set</xsl:attribute> |
paulb@466 | 310 | <xsl:choose> |
paulb@466 | 311 | <xsl:when test="$field-set-attr != ''"> |
paulb@466 | 312 | <xsl:attribute name="expr-attr"><xsl:value-of select="$field-set-attr"/></xsl:attribute> |
paulb@466 | 313 | </xsl:when> |
paulb@466 | 314 | <xsl:otherwise> |
paulb@466 | 315 | <xsl:attribute name="expr-attr"><xsl:value-of select="$field-set-attr-info"/></xsl:attribute> |
paulb@466 | 316 | </xsl:otherwise> |
paulb@466 | 317 | </xsl:choose> |
paulb@258 | 318 | <attribute> |
paulb@258 | 319 | <xsl:attribute name="name"><xsl:value-of select="$field-attr"/></xsl:attribute> |
paulb@258 | 320 | </attribute> |
paulb@258 | 321 | </element> |
paulb@258 | 322 | </xsl:when> |
paulb@233 | 323 | <xsl:otherwise> |
paulb@233 | 324 | <xsl:apply-templates select="*"/> |
paulb@233 | 325 | </xsl:otherwise> |
paulb@233 | 326 | </xsl:choose> |
paulb@233 | 327 | </xsl:template> |
paulb@233 | 328 | |
paulb@233 | 329 | |
paulb@233 | 330 | |
paulb@233 | 331 | <!-- Traverse unknown elements. --> |
paulb@233 | 332 | |
paulb@233 | 333 | <xsl:template match="*"> |
paulb@233 | 334 | <xsl:apply-templates select="*"/> |
paulb@233 | 335 | </xsl:template> |
paulb@233 | 336 | |
paulb@233 | 337 | </xsl:stylesheet> |