This is an example about what I'm trying to do.
here is my xml file:
<BODY_TYPES>
<BODY_TYPE Name="BT3">
<SCENARIOS>
<SCENARIO Name="SC4" Services="SEARCH" Used="true">
<SCENARIO_STEP_LIST>
<SCENARIO_STEP...
i do not now how to traverse all the nods of the tree using recursion, because in this way by using parameters the problem can be solved, because parameters can change their values. If you can tell me how to do this the problem is solved.
tanks
the problem is that i need the for-each because the variable will be changed using the conditions that I obtain from the for-each loop. I think a solution can be by using recursion but i do not now how to use it in this case.
i have tow for-each and one variable witch can be changed if some conditions are true, but after the finish of the for each the variable it is not any more recognized.
please read this code:
<xsl:for-each ....
<xsl:if ..contition1..
<xsl:variable name="var">1</xsl:variable>the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.