Hi,
I am looking for examples to implement what I think should be a simple XSLT, but I am not succeding. This is my first attempt to use an XSLT. ¿Could anybody help me?. I would be very grateful. Thanks.
from:
<segment>
<sync time="0" />
sentence one
<sync time="23,98" />
sentence two
<sync time="33,65" />
sentence three
<sync time="45,34" />
</segment>
to:
<sentence offset="0" length="23.98"> sentenec one </sentence>
<sentence offset="23.98" length="9.67"> sentenec one </sentence>
<sentence offset="33.65" length="11,39"> sentenec one </sentence>
I am looking for examples to implement what I think should be a simple XSLT, but I am not succeding. This is my first attempt to use an XSLT. ¿Could anybody help me?. I would be very grateful. Thanks.
from:
<segment>
<sync time="0" />
sentence one
<sync time="23,98" />
sentence two
<sync time="33,65" />
sentence three
<sync time="45,34" />
</segment>
to:
<sentence offset="0" length="23.98"> sentenec one </sentence>
<sentence offset="23.98" length="9.67"> sentenec one </sentence>
<sentence offset="33.65" length="11,39"> sentenec one </sentence>