|
Subject: [xsl] Kosher XSLT 3.0 numbering solution? From: "David Sewell dsewell@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 1 Sep 2016 13:50:44 -0000 |
<xsl:variable name="bodyPageNo" select="0" as="xs:integer" saxon:assignable="yes"/>
<xsl:template match="pb">
<xsl:variable name="pageNumber">
<saxon:assign name="bodyPageNo" select="
if (@n) then xs:integer(@n) else $bodyPageNo + 1
"/>
<xsl:value-of select="$bodyPageNo"/>
</xsl:variable>
[etc.]
-- David Sewell Manager of Digital Initiatives The University of Virginia Press Email: dsewell@xxxxxxxxxxxx Tel: +1 434 924 9973 Web: http://www.upress.virginia.edu/rotunda
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] sequential numbering with, Heiko Niemann kontak | Thread | Re: [xsl] Kosher XSLT 3.0 numbering, Martin Honnen martin |
| Re: [xsl] sequential numbering with, a kusa akusa8@xxxxxx | Date | Re: [xsl] Kosher XSLT 3.0 numbering, Martin Honnen martin |
| Month |