How can I get using xslt, node value at X position, without using foreach
<items>
<item1>x</item1>
<item2>x</item2>
<item3>x</item3>
</items>
This is explained in programming sense:
<xsl:value-of select="Items/Item[2]"/>
==================================================
Just to little expand question, in the following xml:
<items>
<about>xyz</about>
<item1>
<title>t1</title>
<body>b1</body>
</item1>
<item2>
<title>t2</title>
<body>b2</body>
</item2>
<item3>
<title>3</title>
<body>3</body>
</item3>
</items>
How can I select second's item title.
title
that isn'r a child of anitem
XYZ parent. – Leslee