[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT for usable yet valid XHTML
Jonah Gold wrote:
Hi - The HTML output method will output non-well formed tags like <br>. You need to use the XML output method to produce XHTML. This obviously doesn't produce valid xhtml - the slash is removed from singleton tags, 'checked="checked"' is transformed to simply 'checked', and some other similar things. This is not surprising, since our method is set to "html", which defaults to html 4, but ideally we would like this not to be the case - we are fairly interested in making our XHTML as valid as possible. put some <xsl:text></xsl:text> between the tags you wish to come out as non-empty (i.e. with a start and end tag). hth, Manos
|
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
|