开发者

XSLT nowrap and XHTML 1.0 Strict

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;">
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜