Re: (dsssl) sdata entity mapping in sgml to sgml

Subject: Re: (dsssl) sdata entity mapping in sgml to sgml
From: Tony Graham <Tony.Graham@xxxxxxxxxxxxxxx>
Date: Wed, 6 Jun 2001 11:33:51 +0100 (BST)
jany.quintard@xxxxxxxxxx wrote at  6 Jun 2001 11:42:32 +0200:
 > I am trying to transform SGML written in german to HTML, using OJ 1.3 and the
 > sgml backend. My problem is to output the entities for german characters.
 > I can't use the :
 > (declare-characteristic preserve-sdata?
 >   "UNREGISTERED::James Clark//Characteristic::preserve-sdata?" #t)
 > because the entities I use are not the standard ones.  For example, I
 > have &ae; and I want &auml;
 > 
 > I thought that remapping the entities using :
 > <!ENTITY ae   SDATA   "&auml;"> in my input file should do the trick, 
 > but in this case I get the standard transformation &#65533;.
 > I browsed the archive, and there is a similar post from january 2001
 > (Stefan Dalibor), but without answer.

I can't try any of these myself, but you could try:

<!ENTITY auml	SDATA	 "[auml  ]">
<!ENTITY ae		 "&auml;"  >

or

<!ENTITY ae	SDATA	 "[auml  ]">

Regards,


Tony Graham
------------------------------------------------------------------------
Tony Graham                           mailto:tony.graham@xxxxxxxxxxxxxxx
Sun Microsystems Ireland Ltd                       Phone: +353 1 8199708
Hamilton House, East Point Business Park, Dublin 3            x(70)19708

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread