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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: XML complexity, namespaces (was WG)

[ Lists Home | Date Index | Thread Index ]
  • From: John Cowan <cowan@locke.ccil.org>
  • To: ricko@allette.com.au
  • Date: Mon, 22 Mar 1999 23:50:13 -0500 (EST)

Rick Jelliffe scripsit:

> In SGML I can short-reference these codepoints to entity which points to
> the appropriate glyphs and which has other data attributes to describe
> character properties.
> In XML, to do this I have to write a special program to simulate this
> behaviour.

At last, someone who wants the LocalMarkupFilter (level 1) I specced
out but never implemented because everybody pooh-poohed it.

This is a SAX filter that detects some PIs and processes character
data.  Each properly declared character in the content of a specified
element is transformed into an empty element.

Here are the PIs:

<?LocalMarkup mapname elementname?> says that any characters in the
content of the element "elementname" are transformed according to

<?LocalMarkup mapname "x" elementname?>
says that when map "mapname" is in effect, the character "x" is
changed into an empty element named "elementname", with
an attribute "char" saying what the character was.

This is not as flexible as shortrefs, assuming I understand them
correctly (can be more than one character long, and are transformed
into an arbitrary entity, not a fixed element name) but is easily
layered over SAX.

Are you interested?

John Cowan					cowan@ccil.org
		e'osai ko sarji la lojban.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS