This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Proposal: extend textobject to point to external files
- To: Norman Walsh <ndw at nwalsh dot com>,"docbook at lists dot oasis-open dot org" <docbook at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK: Proposal: extend textobject to point to external files
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Sat, 19 May 2001 11:27:38 +0200
- References: <87y9ruli6x.fsf@nwalsh.com>
Norman Walsh wrote:
> 2. Add a textdata element:
>
> <!ELEMENT textdata EMPTY>
> <!ATTLIST textdata
> %common.attrib;
> %objectdata.attrib;
> %local.textdata.attrib;
> %textdata.role.attrib;
> >
I would suggest adding encoding attribute to the textdata (probably via
%local.textdata.attrib). From this attribute processing application
could infer encoding of external file. This is really necessary for
non-English languages where external files are usually in other encoding
than us-ascii, utf-8 or ISO latin 1. Type of this attribute should be
CDATA and it should contain IANA encoding name (same names are used in
XML - e.g. UTF-8, ISO-8859-2, windows-1250, ...).
For the same reason, encoding attribute is also part of XInclude if you
include text file (parse="text") not XML one.
¨
Jirka
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org