You don't have an array in XSLT (and you can't call it that, because it will only confuse people). In XSLT 2.0 you can have a sequence of elements, in XSLT 1.0 you can have a node-set. In either case you can index into the collection using predicates, for example $x[100], and you can iterate over the collection using <xsl:for-each>
I'm a little surprised at such a basic question, perhaps you meant something else?
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference