Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.138.134.163
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template name="item_values">
<xsl:param name="i" />
<xsl:param name="count_item" />
<div style="padding-left:75px;">
<item value="<xsl:value-of select="./@value" />" id="<xsl:value-of select="position() - 2" />" label="<xsl:value-of select="./@label" />"
<xsl:if test="count($count_item) > 0 ">
<xsl:if test="$count_item = items2/item">
reftable="<xsl:value-of select="@itemid" />"
</xsl:if>
<xsl:if test="$count_item = items3/item">
reftable="<xsl:value-of select="@itemid" />"
</xsl:if>
<xsl:if test="$count_item = items4/item">
reftable="<xsl:value-of select="@itemid" />"
</xsl:if>
<xsl:if test="$count_item = items5/item">
reftable="<xsl:value-of select="@itemid" />"
</xsl:if>
<xsl:if test="$count_item = items6/item">
reftable="<xsl:value-of select="@itemid" />"
</xsl:if>
</xsl:if> />
</div>
</xsl:template>
<xsl:template match="/">
<!-- main_tool_selectors_items1.xml -->
<div style="padding-top:10px; padding-bottom:10px">----> main_tool_selectors_items1.xml</div>
<xsl:variable name="items1_total" select="count(document('../xml/main_tool_selectors.xml')//franchise/items1/item)" />
<div><lists></div>
<div style="padding-left:25px;"><franchise></div>
<xsl:for-each select="document('../xml/main_tool_selectors.xml')//franchise/items1">
<div style="padding-left:50px;"><items1 reftable="<xsl:value-of select="position() - 1" />" ></div>
<xsl:for-each select="./item">
<xsl:call-template name="item_values" >
<xsl:with-param name="i" select="0" />
<xsl:with-param name="count_item" select="items2/item" />
</xsl:call-template>
</xsl:for-each>
<div style="padding-left:50px;"></items1></div>
</xsl:for-each>
<div style="padding-left:25px;"></franchise></div>
<div></lists></div>
<!-- main_tool_selectors_items1.xm2 -->
<div style="padding-top:10px; padding-bottom:10px">----> main_tool_selectors_items2.xml</div>
<xsl:variable name="items2_total" select="count(document('../xml/main_tool_selectors.xml')//franchise/items1/item/items2/item)" />
<div><lists></div>
<div style="padding-left:25px;"><franchise></div>
<xsl:for-each select="document('../xml/main_tool_selectors.xml')//franchise/items1/item/items2">
<div style="padding-left:50px;"><items2 reftable="<xsl:value-of select="parent::*/@itemid" />" ></div>
<xsl:for-each select="./item">
<xsl:call-template name="item_values" >
<xsl:with-param name="i" select="5" />
<xsl:with-param name="count_item" select="./items3/item" />
</xsl:call-template>
</xsl:for-each>
<div style="padding-left:50px;"></items2></div>
</xsl:for-each>
<div style="padding-left:25px;"></franchise></div>
<div></lists></div>
<!-- main_tool_selectors_items3.xml -->
<div style="padding-top:10px; padding-bottom:10px">----> main_tool_selectors_items3.xml</div>
<div><lists></div>
<div style="padding-left:25px;"><franchise></div>
<xsl:for-each select="document('../xml/main_tool_selectors.xml')//franchise/items1/item/items2/item/items3">
<div style="padding-left:50px;"><items3 reftable="<xsl:value-of select="parent::*/@itemid" />" ></div>
<xsl:for-each select="./item">
<xsl:call-template name="item_values" >
<xsl:with-param name="i" select="5" />
<xsl:with-param name="count_item" select="./items4/item" />
</xsl:call-template>
</xsl:for-each>
<div style="padding-left:50px;"></items3></div>
</xsl:for-each>
<div style="padding-left:25px;"></franchise></div>
<div></lists></div>
<!-- main_tool_selectors_items4.xml -->
<div style="padding-top:10px; padding-bottom:10px">----> main_tool_selectors_items4.xml</div>
<div><lists></div>
<div style="padding-left:25px;"><franchise></div>
<xsl:for-each select="document('../xml/main_tool_selectors.xml')//franchise/items1/item/items2/item/items3/item/items4">
<div style="padding-left:50px;"><items4 reftable="<xsl:value-of select="parent::*/@itemid" />" ></div>
<xsl:for-each select="./item">
<xsl:call-template name="item_values" >
<xsl:with-param name="i" select="5" />
<xsl:with-param name="count_item" select="./items5/item" />
</xsl:call-template>
</xsl:for-each>
<div style="padding-left:50px;"></items4></div>
</xsl:for-each>
<div style="padding-left:25px;"></franchise></div>
<div></lists></div>
<!-- main_tool_selectors_items5.xml -->
<div style="padding-top:10px; padding-bottom:10px">----> main_tool_selectors_items5.xml</div>
<div><lists></div>
<div style="padding-left:25px;"><franchise></div>
<xsl:for-each select="document('../xml/main_tool_selectors.xml')//franchise/items1/item/items2/item/items3/item/items4/item/items5">
<div style="padding-left:50px;"><items5 reftable="<xsl:value-of select="parent::*/@itemid" />" ></div>
<xsl:for-each select="./item">
<xsl:call-template name="item_values" >
<xsl:with-param name="i" select="5" />
<xsl:with-param name="count_item" select="./items6/item" />
</xsl:call-template>
</xsl:for-each>
<div style="padding-left:50px;"></items5></div>
</xsl:for-each>
<div style="padding-left:25px;"></franchise></div>
<div></lists></div>
<!-- main_tool_selectors_items6.xml -->
<div style="padding-top:10px; padding-bottom:10px">----> main_tool_selectors_items6.xml</div>
<div><lists></div>
<div style="padding-left:25px;"><franchise></div>
<xsl:for-each select="document('../xml/main_tool_selectors.xml')//franchise/items1/item/items2/item/items3/item/items4/item/items5/item/items6">
<div style="padding-left:50px;"><items6 reftable="<xsl:value-of select="parent::*/@itemid" />" ></div>
<xsl:for-each select="./item">
<xsl:call-template name="item_values" >
<xsl:with-param name="i" select="5" />
<xsl:with-param name="count_item" select="./items7/item" />
</xsl:call-template>
</xsl:for-each>
<div style="padding-left:50px;"></items6></div>
</xsl:for-each>
<div style="padding-left:25px;"></franchise></div>
<div></lists></div>
</xsl:template>
</xsl:stylesheet>
|