XML : Not able to get the value for the xml tags using xsl - (xsl:value-of)

XML Code:

    <complextype name="submission">      <sequence>        <file-audit-data></file-audit-data>        <submission-period-from-date>01/01/2014</submission-period-from-date>        <submission-period-to-date>12/31/2014</submission-period-to-date>        <aco-gpro></aco-gpro>      </sequence>      <attributeGroup ref="submissionAttributeGroup" />    </complextype>    

XSL Code:

    <xsl:for-each select="//complextype[@name='submission']">     <td width="40%"><u>From date:</u><br/><xsl:value-of select="submission-period-from-date"/><br/></td>    <td width="40%"><u>To date:</u><br/><xsl:value-of select="submission-period-to-date"/><br/></td>              </xsl:for-each>    

It is not at all going inside for-each, Please help me in understanding what is causing the issue...

No comments:

Post a Comment