Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: Tricky XSL xinclude question [Thread Next] Re: Tricky XSL xinclude questionTo: NULL Date: 5/2/2005 1:26:00 AM AHHH, I have it non sure if its a good way, but this gave me what i want
<xsl:for-each select="root/element">
<tr>
<td><xsl:value-of select="."/></td>
<xsl:variable name="i" select="position()"></xsl:variable>
<td><xsl:value-of select="/root/root/element[$i]"/></td>
<td><xsl:value-of select="document('1.xml')/root/element[$i]"/></td>
</tr>
</xsl:for-each>
</table>
your document question gives me also a helpful hint (thats looks better for me).
Rene
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
