Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: get parent value get parent valueTo: NULL Date: 9/2/2004 11:51:00 AM Hi,
My xml files looks like this :
<Parent>
<Param1>Hello</Param1>
<Collection>
<Param2>Hello2</Param2>
</Collection>
I just want to get the Param1 value while I'm doing my "for-each" with the
Collection Table.
Sample :
<xsl:for-each select="Parent/Collection">
<tr>
<td><div align="left"><xsl:value-of select="Param1" /></div></td>
<td><div align="center"><xsl:value-of select="Param2" /></div></td>
</tr>
</xsl:for-each>
In Fact, Param1 is the ColumnHeader text of a table.
Is it possible ?
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
