on 07-26-2007 11:38 PM
Hi
I am using this XSLT mapping with the source and target structure as same, since i need to include some constants in it.I am doing more than two nesting for loop. Since it is the same structure it looks simple. But i cannot produce the nested output.
the XSL am using :
<b><xsl:for-each select="products/vendor/product"></b>
<xsl:element name="product">
<xsl:value-of select="products/vendor/product" />
<b> <xsl:for-each select="products/vendor/product/attribute"></b>
<xsl:element name="products/vendor/product/attribute">
<xsl:value-of select="products/vendor/product/attribute" />
<attribute operation="" attributeId="" name="" language="" endpointid="" xsi:type=""/>
</xsl:element>
<b> </xsl:for-each></b>
</xsl:element>
<b></xsl:for-each></b>
Need the output like
<product >
<attribute name="ADA Compliant">Y</attribute>
<attribute name="" type=" ">32.750</attribute>
<attribute name="" type=" ">19.750 in</attribute>
<attribute name="" type=" ">No</attribute>
<attribute name="" type=" ">65.000</attribute>
</product>
I am not sure what is wrong in the XSLT. Any pointers on this.
Regards
Anandan
Message was edited by:
Anandan Loganathan
Hi anandhan,
refer this thread & doc..
might help you...
regards,
vasanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Refer to this thread
pls go through this above link
if helpful pls reward
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Have a look
Some scenarios
/people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.