ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <angerweit@gmx.net>
Subject: Re: ConTeXt FAQ format, XML with DTD
Date: Wed, 6 Nov 2002 21:20:27 +0100	[thread overview]
Message-ID: <200211062120.27010.angerweit@gmx.net> (raw)
In-Reply-To: <20021106103120.1d3b4687.taco@elvenkind.com>

Am Mittwoch, 6. November 2002 10:31 schrieb Taco Hoekwater:

> 1st).
> That's why I always use this parameter entity:
> <!ENTITY % lang  "language       CDATA      #IMPLIED
>                   country        CDATA                #IMPLIED
>                   translit       CDATA                #IMPLIED">

That means, one may use language="de" or country="de" or translit="de" at the 
same time? Why? I'd think one attrib would be enough.

> Your DTD is not 100% ok. Most of it is just a matter of
> merging ATTLIST specs, but this one:
>   <!ATTLIST version	xml:lang IDREF "en">
> is definitely wrong. The IDREF here (and in some other locations)
> should be CDATA. Generally speaking, ID and IDREF do more harm
> than good in XML files. It's better to express the Id<->Ref relation
> in a schema and use CDATA in your Dtds always.

Ok. I got no documentation on schema yet (the new XML book by O'Reilly comes 
in a month).

I just found the ID(REF) thing in my XML docs and thought it would be the 
right thing.

> Sorry, no positive input from me today (no time) ;-)

Thank you nevertheless.
I'd be glad that my first try with XML doesn't have more errors! ;-)

Grüßlis vom Hraban!
-- 
http://www.fiee.net
http://www.ramm.ch
---

      reply	other threads:[~2002-11-06 20:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-05 18:47 Henning Hraban Ramm
2002-11-06  9:31 ` Taco Hoekwater
2002-11-06 20:20   ` Henning Hraban Ramm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200211062120.27010.angerweit@gmx.net \
    --to=angerweit@gmx.net \
    --cc=ntg-context@ref.ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).