Lists Home |
Date Index |
- From: John Cowan <firstname.lastname@example.org>
- To: email@example.com
- 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
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 firstname.lastname@example.org
e'osai ko sarji la lojban.
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)