NOWRAP

David Megginson david at megginson.com
Mon Aug 23 15:01:26 BST 1999


Wang, Dapeng writes:

 > while translating XML to HTML using XSLT, I'm always confronted with the
 > situation that the NOWRAP attribute to a TD element must be specified like
 > <TD NOWRAP>. For it is not well formed XML, I alwasy have to put it into a
 > CDATA-section, whcih is very annoying. Does anybody know another possiblity
 > to avoid it. (Perhaps any other tag or attribute which has the same effect
 > as NOWRAP but is well-formed)

In SGML, this is shorthand for

  <td nowrap="nowrap">...</td>

For XML, use the unabbreviated version (it works with Netscape 4 under 
Linux, at least -- I have no other browsers available for testing
right now).


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list