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><tabl e>
<tr><t d><b>F eature</b></td><td> ;<b
>Benefit& lt;/b></td></tr>
<tr><t d>some sample text runs here</td><td> ;some
sample text runs here too</td></tr>
<tr><t d>some sample text runs here</td><td> ;some
sample text runs here too</td></tr>
<tr><t d>Now I am here </td><td> ;Now what am I
going to do here</td></tr>
<tr><t d>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!