The feedback from my previous post worked a charm but I have encountered the following with some of the documents on our system. The output is as below.
<par def='1'>
<run>This is start of line one para one </run>
<run>text hotspot 1</run>
<run> remainder of line one<break/></run>
<run>This is line 2 </run>
<run>another hotspot </run>
<run>remainder of line 2 <break/></run>
</par>
Is it possible to generate the following output using XSLT?
<document>
<para>This is start of line one para one text hotspot 1 remainder of line one</para>
<para>This is line 2 another hotspot remainder of line 2</para>
</document>
ie, the <break/>
node indicates the end of a sentence but a sentence may run over several <run>
nodes.
In case anyone is wondering, the source data is generated from Lotus Notes in it's DXL schema format.
I have been using a 3rd party tool to generate my XSLT to date, I'm happy to provide the code but it's not very clean.
Thank you again in advance, becoming a huge fan of this forum.
Dono