[XT] XSL output question

Patrice Bonhomme Patrice.Bonhomme at loria.fr
Wed Sep 8 10:46:47 BST 1999


<Hi/>

I have an XML file that is encoding both with ISO-8859-1 and ISO-8859-2 
characters using external entities declaration (ISOlat1.pen and ISOlat2.pen).

1/ What is the value of the 'encoding' attribute within the XML declaration ? 
ISO-8859-1 ? ISO-8859-2 ? None ?

2/ How could we generate an HTML file encoding in UTF-8 using an XSL 
stylesheet from this XML file ?

We are currently using XT 19990822.


Here is the declaration of the XML file :

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE TEI.2 [
<!ENTITY % ISOlat1 SYSTEM "/local/led/share/dtd/pen/ISOlat1.pen">
%ISOlat1;
<!ENTITY % ISOlat2 SYSTEM "/local/led/share/dtd/pen/ISOlat2.pen">
%ISOlat2;
]>


A sample of our data :

<hi rend="IT" TEIform="hi">Slavnost ath&eacute;nsk&yacute;ch 
Thr&aacute;k&uring;</hi>


The result with a very simple XSL stylesheet :

Slavnost ath&eacute;nsk&yacute;ch Thr&aacute;k? 


I am also looking for an XSL/XSLT tutorial compatible with the last XSLT WD.


Thanks for any help,

Pat.

-- 
  ==============================================================
   bonhomme at loria.fr      Tel : 03 83 59 30 52 / 06 11 34 03 85
   http://www.loria.fr/~bonhomme                 Office : B.228
  --------------------------------------------------------------
   * Serveur Silfide  : http://www.loria.fr/projets/Silfide
  ==============================================================



-- 
  ==============================================================
   bonhomme at loria.fr      Tel : 03 83 59 30 52 / 06 11 34 03 85
   http://www.loria.fr/~bonhomme                 Office : B.228
  --------------------------------------------------------------
   * Serveur Silfide  : http://www.loria.fr/projets/Silfide
  ==============================================================



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list