File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT stylesheet looping through the same node (recursion?)

Jack Bush
Ranch Hand
Posts: 235
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I would like to get all the content/text in

node from the XML document where

has a child node <strong>Interest:<strong>. Below is the listing of both XML document and XSLT stylesheet:

One possible solution is by using recursion to go through the list of values on nodes but I am cannot think of how this could be done. Perhaps my difficulty is that I don’t know how to navigate down the list of interest of the same node using xsl command. Most of the Googled articles consisted of searching for the same type of element a cross multiple nodes, where as I am looking all the values (same type anyway) in a single node.

I am new to XSLT stylesheet transformation and can do with some guidances.

Many thanks again,


I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic