View Single Post
  #3 (permalink)  
Old May 30th, 2005, 09:13 PM
its_vippy its_vippy is offline
Registered User
Join Date: May 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to its_vippy

Hi Michael
i tried it but it didnt work :-s
here is my code
    <xsl:if test="@split='rows'">
        <xsl:attribute name="rows">
            <xsl:for-each select="layout/frameset/frame/@size">
                <xsl:value-of select="."/>
                <xsl:if test="position()!=last()">,</xsl:if>

Anyways I have added a split and sizes attribute in <frameset> to become a <frameset split="rows" sizes="200,200,600">
and then i m using
<xsl:attribute name="rows">
    <xsl:value-of select="@sizes"/>
which is working.

but in the xml file there may be nested <frameset> tags
can you show me a way how to handle nested tags please
Reply With Quote