Xml Publisher -- Iterate through a string in XSL

http://forums.oracle.com/forums/thread.jspa?threadID=467375&tstart=0

<xsl:template name="add-X">
<xsl:param name="string" select="." />
<xsl:if test="$string">
<xsl:text>X</xsl:text>
<xsl:value-of select="substring($string, 1,1)"/>
<xsl:call-template name="add-X">
<xsl:with-param name="string"
select="substring($string, 2)" />
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>

Comments

Popular posts from this blog

Repeat Table Header in all pages in BIP

Limit rows per page

Configure Concurrent Reports to be run