This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SGML vs XML


Bob Stayton <bobs@caldera.com> writes:

> <title>
> <phrase role="foo">My Foo Product</phrase>
> <phrase role="bar">My Bar Product</phrase>
> </title>

Since whitespace is highly significant in XML you are recommended to
write it this way:

<title><phrase role="foo">My Foo Product</phrase><phrase role="bar">My
Bar Product</phrase></title>

This may or may not bother you...

XML is a work around to make the HTML crowd happy -- let's hope they
will switch to xhtml some time soon.

-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]