ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Pawel Jackowski na Onet" <jackos1@poczta.onet.pl>
Subject: Re: Re: XML & ConTeXt -- handling many conventions
Date: Thu, 11 Sep 2003 07:28:48 +0200	[thread overview]
Message-ID: <000d01c37825$9dc65610$0500a8c0@best> (raw)
In-Reply-To: <uk78g2blu.fsf@multiline.com.au>

Hi!

> Hello Pawe³ (I, hope your name comes out OK)[...]

Actually no, but don't worry. I'm aware that polish 'lslash' may not be
displayed properly. But using polish characters is the only way
to protect them from extinction. I will think about some compromise.

> The element <chapter title="First Chapter"> is wrong.  By burying your
> title in an attribute you're making it neither easily searchable nor
> useble by other applications.

That is what I said to my boss. The problem is that J have to build
something more or less universal because
I don't known who will prepare XML documents and which convention will be
used.

> The general rule of thumb for when to use attributes and when to use
> elements is: use elements for presentable data and attributes for
> system data.  In this case where you're presenting the title "First
> Chapter" to the context-processor to be marked up as a chapter title,
> it is definitely presentable data, and therefore it belongs in an
> element.

Thanks, I will remember. It looks convincing.


Regards, Pawe/l

  reply	other threads:[~2003-09-11  5:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-09 12:56 Pawel Jackowski na WP
2003-09-11  4:27 ` Guy Worthington
2003-09-11  5:28   ` Pawel Jackowski na Onet [this message]
2003-09-13 21:43   ` Hans Hagen

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='000d01c37825$9dc65610$0500a8c0@best' \
    --to=jackos1@poczta.onet.pl \
    --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).