Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: apply-templates problem apply-templates problemTo: NULL Date: 4/29/2009 1:06:00 PM Newbie: Hi all,
I have the following original basic xml
<FORMS>
<PROCS>
...
<DIAGS>
...
<FORM>
....
</FORM>
<FORM>
...
</FORM>
</FORMS>
The Original xsl:
<xsl:template match="/FORMS">
<xsl:apply-templates select="/FORMS/FORM" />
</xsl:template>
<xsl:template match="/FORMS/FORM">
....
<xsl:apply-templates select="/FORMS/PROCS" />
<xsl:apply-templates select="/FORMS/DIAGS" />
</xsl:template>
<xsl:template match="/FORMS/PROCS">
...
</xsl:template>
<xsl:template match="/FORMS/DIAGS">
...
</xsl:template>
...
and so this basically renders each form with the same set of PROCS and
DIAGS. What I need to do is to move the PROCS and DIAGS inside each
form iteration, as they are now going to be different for each row of
data of FORM.
How do I reference each FORM/PROCS and FORM/DIAGS for each individual
row?
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
