ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Cc: gundlach@irb.cs.uni-dortmund.de, ntg-context@ntg.nl
Subject: Re: xml comments
Date: Tue, 27 Nov 2001 14:21:35 +0100	[thread overview]
Message-ID: <20011127142135.5cf03b0c.taco@elvenkind.com> (raw)
In-Reply-To: <5.1.0.14.1.20011127104108.02f06868@server-1>

> indeed, if we assume that #1 and #1 are the same and -, we can have a 
> faster alternative, but we may want to play safe. How does this keyword 
> mechanism work? Are there only officially registered ones?

Here is the full list. It is case-sensitive, and not extensible in any way.

Within any XML instance document:

<![CDATA[
<!--
<!DOCTYPE

Only within the bracketed part of DOCTYPE or in an external DTD:

<!ELEMENT
<!ATTLIST
<!ENTITY
<!NOTATION

Only in DTDs:

<![INCLUDE
<![IGNORE
<![%....;

A space character is allowed after the [ in these three.

These last ones are used in building/parameterising the DTD, like this:

<!ENTITY % draft 'INCLUDE' >
<!ENTITY % final 'IGNORE' >
<![%draft;[
<!ELEMENT book (comments*, title, body, supplements?)>
]]>
<![%final;[
<!ELEMENT book (title, body, supplements?)>
]]>

Nothing else that starts with <! is allowed to appear anywhere, except
within a <![CDATA section (where it doesnt count as markup).

-- 
groeten,

Taco


      reply	other threads:[~2001-11-27 13:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-26 14:20 Patrick Gundlach
2001-11-26 15:03 ` Hans Hagen
2001-11-26 15:07 ` Hans Hagen
2001-11-27  8:37   ` Taco Hoekwater
2001-11-27  9:43     ` Hans Hagen
2001-11-27 13:21       ` Taco Hoekwater [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=20011127142135.5cf03b0c.taco@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=gundlach@irb.cs.uni-dortmund.de \
    --cc=ntg-context@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).