Hi Joris,
I think I will be more clearer now though this is a small portion of a
bigger doc. Please let me know if I am not.
<?xml version="1.0" encoding="UTF-8"?>
<fragment name="htmlPart">
<value><table>
<tr><td><b>Feature</b></td><td><b
>Benefit</b></td></tr>
<tr><td>some sample text runs here</td><td>some
sample text runs here too</td></tr>
<tr><td>some sample text runs here</td><td>some
sample text runs here too</td></tr>
<tr><td>Now I am here </td><td>Now what am I
going to do here</td></tr>
<tr><td>some stuff lies here too</td><td>Please
give suggestions</td></tr></table>
</value>
</fragment>
3 "fragment name ="htmlpart" elements are present(similar to the above
format.
My XSL should convert the "htmlpart" element into three elements
<fragment name="tr">
<value>
<fragment name="td">
<value>
<fragment name="tablecell">
<value>
This should contain text between the first '<tr><tr>'
'</td></tr>'
</value>
</fragment>
....
This structure should be repeated for each content text between
'<tr><tr>' '</td></tr>' .
So I guess I need to use substring recursively to search for the above
patterns and map content. Hope this gives a better picture. Any help
would be greatly appreciated.
Thanks,
figo
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!