Re: [xsl] SGML to XML

Subject: Re: [xsl] SGML to XML
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 26 Feb 2009 10:24:57 -0500
Michael,

At 06:11 PM 2/25/2009, you wrote:
The main problem I had with SX was that its method of normalizing
names was to uppercase all of them, regardless of the case in
which the name was given when declared.  Since I was unable to
put up with the resulting ugliness, I had to devise and run
another processing step to re-normalize things using the correct
case.  (Later, I found a stylesheet from Wendell Piez that makes
this easy; unfortunately, I can't find it on the Web now.
Wendell, it *is* on the Web, isn't it?)

Um, *choke*, is it?


I'm afraid I'm one of those people who will be forgotten by history because after doing a thing, I lose interest and never put it on the web.

In any case, the routine you are speaking of is a pretty straightforward table-driven mapping, perhaps somewhat innovative in its time but now hardly impressive.

All you need is a list of the case-correct names, and to rip through the document mapping case-folded names into corrected names.

Of course, it won't work if your case-folding has thrown information away, such as the difference between "UPPERCASE" and "uppercase".

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

Current Thread