Click to See Complete Forum and Search --> : Empty elements as paragraph breaks


vbull
08-23-2010, 05:35 PM
Hi,

I'm pretty new to XML but enjoying the learning curve..but this has got me stumped.

I have an element (intro) which contains text, and within this element I have an empty element (break) which is intended to mark where the paragraph breaks will be in the XHTML following transformation. The schema restricts me to having this element empty.

I'm working on the transformation but can't figure out how to substitute all my break elements with the breaks required to format the output of the intro element into paragraphs.

Closest I have come is that I can get the break elements subsituted with breaks, but these all appear before the text from the intro element.

Could anyone give me some hints as to how this can be achieved - I hope the above description makes sense :confused:

Cheers