[
Lists Home |
Date Index |
Thread Index
]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> -----Original Message-----
> From: Michael Kay [mailto:michael.h.kay@ntlworld.com]
>
> In XSLT 2.0, of course, you can write:
>
> <xsl:for-each select="1 to 10">
> <xsl:value-of select="."/>
> <xsl:text>
</xsl:text>
> </xsl:for-each>
>
> or even more concisely:
>
> <xsl:value-of select="1 to 10" separator="
"/>
That is an improvement!
> which is shorter than the Java version.
Python:
for i in range(1,10): print i
;)
Bill de hÓra
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4
iQA/AwUBPJ9Z0OaWiFwg2CH4EQL1JwCgv6VA+FYt2NbxBU+et16ona8gcekAnRRL
idmoqiQ0w15cP+GjQX/umUwn
=hHT9
-----END PGP SIGNATURE-----
|