on 08-24-2011 2:20 PM
Hello,
my scenario is IDOC to File......i am using XSLT mapping and using FCC parameters to convert the flat file.
now new requirement is i need to count number of rows and add count value last of the file.
Please let me know how to do it,
thanks in advance for your help.
Regards,
Chinna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use the count function in your XSLT mapping itself
http://www.java2s.com/Tutorial/XML/0100__XSLT-stylesheet/Countnode.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks again, one more Q.
in XSLT mapping i have written for loop for complete structure.
example : <Details>
<node1>
<node2>
</details>
in XSLT mapping
<xsl:for-each select="ZMATMAS_01/IDOC/E1MARAM">
<Details>
</Details>
</xsl:for-each>
if i add the field at target side....then i will come under details node and it will be repeated.
how to declare in XSLT mapping.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.