K
Konkee
Hi!
I have simple code to rebuild where is a lot of loops which looks like this
one:
<xsl:for-each select="TextBox">
<xsl:if test="@dataSource='formUlicaOR'">
{<xsl:value-of select="@text"/>}
</xsl:if>
</xsl:for-each>
As You know reviewing document a lot of time to get one variable in each
time is not good idea. But I can't do this in one loop, becouse this tags
can be set in diferent position in each time.
I tried to do something like this:
<xsl:for-each select="TextBox">
<xsl:if test="@dataSource='formUlicaOR'">
<xsl:variable name="formNazwaOR" select="@text"/>
</xsl:if>
</xsl:for-each>
But after end of for-each loop the veriables was unapproachable.
If You can give me some advice what i should do - I will be thankful.
Konki
I have simple code to rebuild where is a lot of loops which looks like this
one:
<xsl:for-each select="TextBox">
<xsl:if test="@dataSource='formUlicaOR'">
{<xsl:value-of select="@text"/>}
</xsl:if>
</xsl:for-each>
As You know reviewing document a lot of time to get one variable in each
time is not good idea. But I can't do this in one loop, becouse this tags
can be set in diferent position in each time.
I tried to do something like this:
<xsl:for-each select="TextBox">
<xsl:if test="@dataSource='formUlicaOR'">
<xsl:variable name="formNazwaOR" select="@text"/>
</xsl:if>
</xsl:for-each>
But after end of for-each loop the veriables was unapproachable.
If You can give me some advice what i should do - I will be thankful.
Konki