[xslt] [xsltproc] HTML compatibility ?



Hi,

I'm using xsltproc to parse XML documents and output them as XHTML 1.1 
(using an XSL stylesheet).

Is there any way to tell xsltproc to be "HTML compatible" ?

e.g.
* for empty tags, add extra space: <img src="a.jpg" /> instead of
<img src="a.jpg"/>
* for empty tags that need closing, keep the closing tag: <div></div> 
instead of <div/>

Thanks.

-- 
Laurent





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]