Created
November 13, 2014 15:23
-
-
Save kosek/f3eb6bf5e78e2d4ecb7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:template match="text()"> | |
<xsl:analyze-string select="." regex="\p{{Ll}}+"> | |
<xsl:matching-substring> | |
<fo:inline font-size="70%"><xsl:value-of select="upper-case(.)"/></fo:inline> | |
</xsl:matching-substring> | |
<xsl:non-matching-substring> | |
<xsl:value-of select="."/> | |
</xsl:non-matching-substring> | |
</xsl:analyze-string> | |
</xsl:template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment