tags:

views:

113

answers:

2

we have XSLT to transform XML into HTML in XHTML 1.0 Strict

in 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>
+2  A: 

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.

Matti Virkkunen
thanks, i just recognize that is misleading question.
cc96ai
+1  A: 
<td colspan="3" style="white-space:nowrap;">
jlew