This content has been marked as final. Show 5 replies
RK.. wrote:I don't understand what you mean there... Can you post a sample of the expected xml?
I am not able to use the "for-each" XSLT function to get the multiple value of Name and Author since concat function is used.
Ok i use for-each function in my XSLT to get the vlaues of unbounded elements
This works perfectly fine and whenever there is a multiple vlaue for Name it is mapped to Sample and output comes as expected
Now i need to concat the Name and Author and pass the value to element on the target. Since name and author occuring multiple times, i am not sure how to pass the values to the element on the target
Can you post your XSLT code here....
Maybe this is what you want...
<xsl:for-each select="/BookStore/Books"> <request:Sample> <xsl:value-of select="concat(Name,' ',Author)"/> </request:Sample> </xsl:for-each>
yes this is right. We can either map it to the same element which is occurring multiple times or map to the root element which will be unbounded