My XML looks like:
<e2contacts ......>
<company Prospect="0" Formerclient="0" Supplier="0" PublicSector="0" ITIndustry="0">
<conumber>10920</conumber>
.........
<contacts addrnumber="1" contactnumber="1" X="1" Technical="0" Oracle="0" User="0" Seniormanagement="0" golf="0">
<surname>Hiscoe</surname>
.......
<note>null</note>
</contacts>
I want to output (among other things)
for each person: addrno, contactno, a link passing both values as parameters.
My XSL is:
<xsl:for-each select="@addrnumber"> <xsl:value-of select="."/> </xsl:for-each>
<xsl:for-each select="@contactno"> <xsl:value-of select="."/> </xsl:for-each>
now output link
If I use variables within the for loops they are out of scope by the time I want to construct the link.
Do I need to use parameters or can I create the variables at a higher level? I have read the bumf but remain baffled. Have I missed something basic?
Any help much appreciated
<e2contacts ......>
<company Prospect="0" Formerclient="0" Supplier="0" PublicSector="0" ITIndustry="0">
<conumber>10920</conumber>
.........
<contacts addrnumber="1" contactnumber="1" X="1" Technical="0" Oracle="0" User="0" Seniormanagement="0" golf="0">
<surname>Hiscoe</surname>
.......
<note>null</note>
</contacts>
I want to output (among other things)
for each person: addrno, contactno, a link passing both values as parameters.
My XSL is:
<xsl:for-each select="@addrnumber"> <xsl:value-of select="."/> </xsl:for-each>
<xsl:for-each select="@contactno"> <xsl:value-of select="."/> </xsl:for-each>
now output link
If I use variables within the for loops they are out of scope by the time I want to construct the link.
Do I need to use parameters or can I create the variables at a higher level? I have read the bumf but remain baffled. Have I missed something basic?
Any help much appreciated