[jdom-interest] Entity Ref

Jason Long jason at supernovasoftware.com
Sat Feb 22 09:23:40 PST 2003


I have a csv file that is generated from a legacy system that I am
converting to xml and then applying XSL to generate several views.  In the
clients system some of the columns are abbreviated.  I figured that the
easiest way was to just turn the abbreviation into an entity, add an
external reference to a dtd which the client can edit if more abbreviations
are added.  It works just as expected if I manually add in the entities, but
I need to add these in at the time of conversion.  Is there a way to do this
by applying XSL to the document?

Thank you for your time,

Jason Long - CEO and Chief Software Engineer
Supernova Software - supernovasoftware.com
BS Physics, MS  Chemical Engineering

-----Original Message-----
From: jdom-interest-admin at jdom.org
[mailto:jdom-interest-admin at jdom.org]On Behalf Of Elliotte Rusty Harold
Sent: Saturday, February 22, 2003 10:41 AM
To: Jason Long; JDOM
Subject: Re: [jdom-interest] Entity Ref

At 10:30 AM -0600 2/22/03, Jason Long wrote:
>I need this attribute to actually be and entity as follows:
><elt mill="&BOK;"/>

JDOM can't do that. Why do you need to do this? What is your use-case?

| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
|           Processing XML with Java (Addison-Wesley, 2002)          |
|              http://www.cafeconleche.org/books/xmljava             |
| http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA  |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
To control your jdom-interest membership:

More information about the jdom-interest mailing list