|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] generic formula for splitting mixed-text elements to
Is there a generally accepted way to split a mixed text element such as
<para>this is text with <bold>inline elements</bold> and includes a
<list>
<list-item><p>item a</list-item>
<list-item><p>item b</list-item>
<list-item><p>item c</list-item>
</list>
within a paragraph with other inline elements <italic>after</italic> the
list/</para>
The result would be split to become this:
<para>this is text with <bold>inline elements</bold> and includes a</para>
<list>
<list-item><p>item a</list-item>
<list-item><p>item b</list-item>
<list-item><p>item c</list-item>
</list>
<p>within a paragraph with other inline elements <italic>after</italic> the
list.</para>
I'm not terrible fold of splitting paragraphs, but for conversion to HTML,
the 2nd example is a better starting point for a transformation.
I'd like to have a pattern I could apply whenever I come across a similar
situation.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








