1 |
2007-04-27, Robin H. Johnson sanoi: |
2 |
|
3 |
> On Fri, Apr 27, 2007 at 10:32:25AM +0200, Jan Kundr?t wrote: |
4 |
> > AFAIK the preferred way of specifying boolean values in XML is to |
5 |
> > use contact="contact", not contact="1". |
6 |
> I can't find this described anywhere in the XML specification |
7 |
> http://www.w3.org/TR/REC-xml/ |
8 |
> |
9 |
> Have you got a reference for it? |
10 |
|
11 |
That tradition stems from SGML, and in SGML it was also possible to |
12 |
minimize this kind of true values by telling attribute without value. |
13 |
The habit has carried over to XML even though it doesn't support |
14 |
attribute minimization. The reference can be found in the SGML handbook |
15 |
if you wish, I suppose. |
16 |
-- |
17 |
Flammie, Gentoo Linux Documentation’s Finnish head translator |
18 |
and FlameEyes’ bot <http://dev.gentoo.org/~flammie>. |