xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
[XOM-interest] What's an elegant way to write symbolic entities
- From: David Collier-Brown <davec-b AT rogers.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] What's an elegant way to write symbolic entities
- Date: Sun, 09 Jan 2011 11:44:35 -0500
I'm starting a mini-project to get some input documents into a good,
editable xml.
One of the things I desire to do is write entities in their symbolic
form, so that a
non-breaking space will be written as and e-acute as é
This is in principle doable by sending the output not through a
serializer, but instead
a through an xslt processor that uses a list of character-maps which in
turn enumerate
the entire list of entities from my DTD.
However, thus looks a lot like "going via Snarey's Corners", a term
from my
childhood symbolizing going insanely far out of one's way to do something.
Is there a simple, straightforward and perhaps even elegant way
to produce output containing symbolic entities?
--dave
--
David Collier-Brown, | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb AT spamcop.net | -- Mark Twain
(416) 223-8968
-
[XOM-interest] What's an elegant way to write symbolic entities,
David Collier-Brown, 01/09/2011
- Re: [XOM-interest] What's an elegant way to write symbolic entities, Michael Kay, 01/09/2011
-
Re: [XOM-interest] What's an elegant way to write symbolic entities,
Elliotte Rusty Harold, 01/09/2011
-
Re: [XOM-interest] What's an elegant way to write symbolic entities,
David Collier-Brown, 01/09/2011
- Re: [XOM-interest] What's an elegant way to write symbolic entities, Tatu Saloranta, 01/10/2011
-
Re: [XOM-interest] What's an elegant way to write symbolic entities,
David Collier-Brown, 01/09/2011
Archive powered by MHonArc 2.6.24.