[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: attribute order (RE: Syntax Sugar and XML information models)
- From: "Simon St.Laurent" <simonstl@simonstl.com>
- To: xml-dev@lists.xml.org
- Date: Thu, 29 Mar 2001 17:04:26 -0500
At 06:44 PM 3/29/01 +0200, Robin Berjon wrote:
>I've heard quite a few people working with XHTML complain about that.
>Changing from <br /> to <br></br> isn't so good, and people are unhappy
>about tools that don't pay enough attention to such details.
The XHTML case is even trickier, since most XSLT processors come with
built-in modes for XML and HTML.
The XML mode would produce:
<br/>
The HTML mode would produce:
<br>
And what the XHTML folks really want is:
<br />
4xt.org built an output mode for XT that supported that distinction, but I
haven't followed it in the other XSLT processors.
Simon St.Laurent - Associate Editor, O'Reilly and Associates
XML Elements of Style / XML: A Primer, 2nd Ed.
XHTML: Migrating Toward XML
http://www.simonstl.com - XML essays and books