Thread: div hiererchy
View Single Post
  #3 (permalink)  
Old February 26th, 2007, 12:21 PM
gantait gantait is offline
Authorized User
 
Join Date: Feb 2007
Location: , , .
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i hav etried like this..


my childs are under path...data/dataSource

<xsl:template match="data/dataSource">
                 <div id="treeNode{position()}" style="display:none"><table border="0" cellspacing="0" cellpadding="0"><tr><td><img class="hiericon" src="images/blank.png"/><img class="hiericon" src="images/blank.png"/><img class="hiericon" src="images/I.png"/><img class="hiericon" src="images/I.png"/>
                     <xsl:for-each select="preceding-sibling::*">
                           <img class="hiericon" src="images/I.png"/>
                     </xsl:for-each>
                     <xsl:value-of select="@name"/>
                 </td></tr></table>
                 </div>
            </xsl:template>

and when parsing time in the perticular div where this display this will come there i have puted this code...but is not working...i have done mistake..pls correct me..
Reply With Quote