[Home] [By Thread] [By Date] [Recent Entries]
On 06.10.2020 23:52, Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx wrote:
<xsl:sequence select="$value[1] + $height"/> No need to use [1] here: <xsl:sequence select="$value + $height"/> I made the accumulator xs:double+ temporarily because I thought you also want the block height in addition to y in the result, therefore I returned the sequence of $value[1] + $height, $height. In the template that matches block, I then referred to accumulator-after('blockHeight')[1] and accumulator-after('blockHeight')[2], respectively, in order to fill y and height. But then I saw that you don't want a height attribute added to block and reverted the accumulator to cardinality one.
|

Cart



