Changeset 915
- Timestamp:
- 09/14/07 14:02:30 (11 months ago)
- Files:
-
- trunk/examples/config/xml/pages/txt/main_index.xml (modified) (1 diff)
- trunk/src/main/resources/xsl/stub.xsl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/examples/config/xml/pages/txt/main_index.xml
r908 r915 28 28 29 29 <!-- test a link --> 30 <stub:link page="test">Test</stub:link> 30 <stub:link page="test"> 31 <stub:argument name="argument">wert</stub:argument> 32 <stub:argument name="argument2">noch_ein_wert</stub:argument> 33 Test 34 </stub:link> 31 35 <!-- This is an include from a different file --> 32 36 <stub:include part="disclaimer" href="include/parts.xml"/> trunk/src/main/resources/xsl/stub.xsl
r858 r915 45 45 </xsl:template> 46 46 47 <xsl:template match="stub:argument"/> 48 47 49 <xsl:template match="stub:link"> 48 50 <a> … … 62 64 <xsl:text>=</xsl:text> 63 65 <ixsl:value-of select="$__sessid"/> 66 <xsl:for-each select="./stub:argument"> 67 <xsl:choose> 68 <xsl:when test="position() = 1"> 69 <xsl:text>?</xsl:text> 70 </xsl:when> 71 <xsl:otherwise> 72 <xsl:text>&</xsl:text> 73 </xsl:otherwise> 74 </xsl:choose> 75 <xsl:value-of select="@name"/> 76 <xsl:text>=</xsl:text> 77 <xsl:value-of select="."/> 78 </xsl:for-each> 64 79 </ixsl:attribute> 65 <xsl: value-of select="."/>80 <xsl:apply-templates/> 66 81 </a> 67 82 </xsl:template>
