Subject: Re: [xsl] Constructing a sequence: numbers are added up repeatedly From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 03 Nov 2011 12:54:29 +0000 |
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:f="data:,f" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xsl:template name="m"> <xsl:variable name="t1" select="'Mlmlmhmhmvmv'"/> --- <xsl:sequence select="f:seq(string-to-codepoints($t1),0,1)"/> --- </xsl:template>
$ saxon9 -it m sums.xsl <?xml version="1.0" encoding="UTF-8"?> --- 1 3 5 7 9 11 12 14 15 17 18 20 ---
________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Constructing a sequence: , Andrew Welch | Thread | Re: [xsl] Constructing a sequence: , Manfred Staudinger |
Re: [xsl] Constructing a sequence: , Andrew Welch | Date | RE: [xsl] [possibly off topic] Adop, Norm Birkett |
Month |