OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK-APPS: SGML vs XML


Conditional sections are described in productions [61] - [65] in the XML
spec[1]. And yes, parameter entities can be used:

 "If the keyword of the conditional section is a parameter-entity reference,
the parameter entity must be replaced by its content before the processor
decides whether to include or ignore the conditional section."

kind regards
Peter Ring

[1] http://www.w3.org/TR/REC-xml#sec-condition-sect



-----Original Message-----
From: Trevor Jenkins [mailto:trevor.jenkins@suneidesis.com]
Sent: 3. juli 2002 11:45
To: fyl2xp1
Cc: DocBook applications
Subject: Re: DOCBOOK-APPS: SGML vs XML


On Wed, 3 Jul 2002, fyl2xp1 <vnhu38f93@subdimension.com> wrote:

> My advantages and disadvantages to going XML are as follows:
> [Note, this is XML and SGML primarily in the context of DocBook]

There are "features" of SGML that have not been incorporated into XML. The
one I miss most and that keeps me using SGML is INCLUDE/IGNORE marked
sectons. Especially as the status keyword can be the replacement of an
entity reference. Although there are techniques for achieving this with
XML (by hacking XSLT code to evaluate element attribtues) I believe that
the SGML feature is safer and preferable. It is clear in the SGML document
instance what will/wont be processed; there is no such clarity with an XML
document instance.

I also have a liking for the & operator in content models. It's absence in
XML makes for some contorted content models. Likewise inclusions and
exclusions. These SGML "features" make for an economy of expression that
XML makes verbose.

My current documentation project cals for delivery in XML. However, I
treat this as a final form much like PDF or Word format. The master
version is SGML using many of the missing things. First stage of delivery
is to use openjade to create the XML parallel.

Regards, Trevor

British Sign Language is not inarticulate handwaving; it's a living
language.
Support the campaign for formal recognition by the British government now!
Details at http://www.fdp.org.uk/

-- 

<>< Re: deemed!


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC