On Sun, 15 Mar 2015, Idris Samawi Hamid ادريس سماوي حامد wrote: > [Dear Aditya, I sent this to the list; sending it to you to have a look as > well. Any assistance is much appreciated, especially if I have to go the xslt > route! Thanks in advance!!] It has been almost 1.5 years since I had a serious look at XML generated by ConTeXt. At that time, ConTeXt did not generate XHTML, so I thought that one has to go through the XLST route. But, it looks that things have changed. > =======export-highlight-div.xhtml======== >
This is
emphasis
. This is
important
. This is
regular
.
> This is
some emphasized text, with
class="highlight regular">regular
in between
.
class="break">
> This is
some important text, with
class="highlight regular">regular
in between
.
> ========================================= This is very well formed XHTML. You just need a proper CSS stylesheet to do the correct rednering. Something like: .highlight.important { font-weight: bold; } .highlight.emphasis { font-style: italic; } etc. Aditya