we have XSLT to transform XML into HTML in XHTML 1.0 Strict
in 开发者_StackOverflow中文版XSLT
<td colspan="3" nowrap="nowrap">
HTML output will be
<td colspan="3" nowrap="nowrap">
however it will failure in XHTML 1.0 Strict check. how XSLT can I generate into
<td colspan="3" nowrap>
nowrap without ="nowrap" would be even more wrong in XHTML. XHTML 1.0 Strict does not have the nowrap attribute at all. Use CSS for layout instead.
<td colspan="3" style="white-space:nowrap;">
精彩评论