146 |
<xsl:param name="position" /> |
<xsl:param name="position" /> |
147 |
<!-- new of 2003-05-07: replacement for test if undef --> |
<!-- new of 2003-05-07: replacement for test if undef --> |
148 |
<xsl:param name="test" /> |
<xsl:param name="test" /> |
|
<xsl:param name="town" /> |
|
|
|
|
|
<xsl:variable name="town" select="huhu">haha</xsl:variable> |
|
149 |
|
|
150 |
<!-- |
<!-- |
151 |
<xsl:comment> |
<xsl:comment> |
339 |
</xsl:element> |
</xsl:element> |
340 |
</xsl:template> |
</xsl:template> |
341 |
|
|
342 |
<!-- xsl for [2.9 Variables and Values of Variables] --> |
<!-- |
343 |
|
xsl for [2.9 Variables and Values of Variables] |
344 |
|
Encapsulates block payload into a named template. |
345 |
|
--> |
346 |
<xsl:template match="xupdate:variable"> |
<xsl:template match="xupdate:variable"> |
347 |
<xsl:comment> 5.a. vivify xsl-element "variable" </xsl:comment> |
<xsl:comment> 5.a. vivify xsl-element "variable" </xsl:comment> |
348 |
<xsl:element name="xsl:variable"> |
|
349 |
<xsl:copy-of select="@*"/> |
<xsl:element name="xsl:template"> |
350 |
|
<xsl:attribute name="name">Variables</xsl:attribute> |
351 |
|
|
352 |
<!-- |
<!-- |
353 |
<xsl:apply-templates /> |
<xsl:element name="xsl:variable"> |
354 |
|
<xsl:attribute name="name"><xsl:value-of select="@name" /></xsl:attribute> |
355 |
|
--> |
356 |
|
|
357 |
|
<xsl:element name="xsl:apply-templates"> |
358 |
|
<xsl:attribute name="select"><xsl:value-of select="@select" /></xsl:attribute> |
359 |
|
</xsl:element> |
360 |
|
|
361 |
|
<!-- <xsl:value-of select="@select" /> --> |
362 |
|
<xsl:value-of select="." /> |
363 |
|
<!-- |
364 |
|
</xsl:element> |
365 |
--> |
--> |
|
<!-- <xsl:element name="xsl:apply-templates" > --> |
|
|
<xsl:attribute name="select"> |
|
|
<!-- <xsl:apply-templates /> --> |
|
|
/addresses[2]/address[4]/town |
|
|
</xsl:attribute> |
|
|
<!-- </xsl:element> --> |
|
|
hui |
|
|
</xsl:element> |
|
366 |
|
|
367 |
|
</xsl:element> |
368 |
|
|
369 |
</xsl:template> |
</xsl:template> |
370 |
|
|
371 |
<xsl:template match="xupdate:value-of"> |
<xsl:template match="xupdate:value-of"> |
372 |
<xsl:comment> 5.b. vivify xsl-element "value-of" </xsl:comment> |
<xsl:comment> 5.b. vivify xsl-element "value-of" </xsl:comment> |
373 |
<xsl:element name="xsl:value-of"> |
<xsl:element name="xsl:call-template"> |
374 |
|
<xsl:attribute name="name">Variables</xsl:attribute> |
375 |
|
</xsl:element> |
376 |
|
<xsl:element name="xsl:value-of"> |
377 |
<xsl:copy-of select="@*"/> |
<xsl:copy-of select="@*"/> |
378 |
<xsl:apply-templates /> |
<!-- <xsl:apply-templates /> --> |
379 |
|
<!-- this propagates the original content --> |
380 |
|
<!-- <xsl:element name="xsl:apply-templates"> --> |
381 |
|
<!-- <xsl:attribute name="" > --> |
382 |
|
<!-- </xsl:element> --> |
383 |
</xsl:element> |
</xsl:element> |
|
<xsl:text>abs</xsl:text> |
|
384 |
</xsl:template> |
</xsl:template> |
385 |
|
|
386 |
|
|