skip to Main Content

Html – Display XML nodes in range?

Haven't found this anywhere so I ask it here. I have a xml document structured as follows: <root> <row>Row 1</row> <row>Row 2</row> <row>Row 3</row> <row>Row 4</row> <row>Row 5</row> <row>Row 6</row> <row>Row 7</row> <row>Row 8</row> <row>Row 9</row> <row>Row 10</row> </root> In…

VIEW QUESTION

Looking up key-value pairs in JSON objects from XSLT

I have an XSLT implementation that hyphenates strings following latex patterns, i.e. inserts soft hyphens in strings. I call this function like this: <xsl:template match="p[lang('en')]/text()"> <xsl:analyze-string select="." regex="w+"> <xsl:matching-substring> <xsl:value-of select="fn:hyphenate(., '­', 'en')"/> <xsl:non-matching-substring> <xsl:value-of select="."/> </xsl:non-matching-substring> </xsl:analyze-string> </xsl:template> Now,…

VIEW QUESTION
Back To Top
Search