For example
<a>{1 to 10}</a>
<a>1 2 3 4 5 6 7 8 9 10</a>
<a>{(1 to 10)!<b>{.}</b>}</a>
<a><b>1</b><b>2</b><b>3</b><b>4</b><b>5</b><b>6</b><b>7</b><b>8</b><b>9</b><b>10</b></a>
For example
is evaluated to Or becomes XQuery is a W3C standard, so there are several implementation of it. I wrote an XQuery interpreter (http://www.videlibri.de/xidel.html) myself