411 REFERENCE · Wikibooks
XSLTForms/The fromtostep function
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="xsltforms-1.7/xsltforms.xsl" type="text/xsl"?>
<?xsltforms-options debug="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
lang="en">
<head>
<title>fromtostep example</title>
<xf:model id="model"/>
</head>
<body>
<h1> Example of 'fromtostep' function </h1>
<!-- Doesn't seem to accept xpath expressions? -->
<ul>
<xf:repeat ref="fromtostep(1,10,1)">
<li>
<xf:output value="concat(. , ':hello')"/>
</li>
</xf:repeat>
</ul>
</body>
</html>