Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to iterate through xml array in xsl

843834May 23 2007 — edited Jul 14 2008
Hi,

I have xml like this
<TIP>
<ROW>
<amount> </amount>
<date></date>
</ROW>
<ROW>
<amount> </amount>
<date></date>
</ROW>
</TIP>
and I want to transform it to another xml from xsl by <xsl:for-each>
 <xsl:variable name="all" select="./TIP" />
      <xsl:for-each select="$all" >
    </xsl:for-each>
the $all gives me array but I want to have value of an array how can I do it?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 11 2008
Added on May 23 2007
3 comments
2,042 views