F
Figo 775
Hi,
I have an xml document which is as below:
<?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 in this document..
For each fragment name ="htmlpart", the xsl I need should create an
element "<fragment name="tr"> and map the tr values from the text above
in its "value" element.
The same needs to be done for "td".
Please provide an answer to this.
Thanks,
figo
I have an xml document which is as below:
<?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 in this document..
For each fragment name ="htmlpart", the xsl I need should create an
element "<fragment name="tr"> and map the tr values from the text above
in its "value" element.
The same needs to be done for "td".
Please provide an answer to this.
Thanks,
figo