One more question on same XSL
I am trying to print 1&2 in different Tags , and from 3 to End will printing into Different tag. I took the position, that loops through perfect, while printing i am not getting that value. XML Input is almost same, it repeats several times, it could be N everytime.
Any help is appreciated
<SYSINF><xsl:value-of select="//ELC[1]/SYSINF"/></SYSINF>
<INVSYNHEAD><xsl:value-of select="//ELC[2]/SYSINF"/></INVSYNHEAD>
<xsl:for-each select="//ELC">
<xsl:if test="position() > 2">
<INVSYNDATA><xsl:value-of select="ELC[position()]/SYSINF"/></INVSYNDATA>
</xsl:if>
</xsl:for-each>
|