W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2008

How to handle HTML-Data properly in XML Files for XSL-FO Transformation?

From: Battermann, Joerg (ext) <joerg.battermann.ext@siemens.com>
Date: Mon, 5 May 2008 15:48:12 +0200
Message-ID: <F9A3EEF348555F4FB031FD423F56918603235C5D@ERLM862A.ww001.siemens.net>
To: <www-xsl-fo@w3.org>
Good Afternoon,

I have a question regarding how to properly handle and format html-data stored within xml-files using a standard xsl-fo transformation. We extract data from our database and store it in .xml files and two nodes actually contain html data 1:1 it is originally stored in the database itself. To make sure the xml-file itself remains valid, we use CDATA for these areas, for example:

<Description><![CDATA[<html><head><title /></head><body>Der Prozess soll ein Metriksystem definieren zur &Uuml;berpr&uuml;fung und Regelung desselben.<br /><br /><br />Diese Metriken k&ouml;nnen dann in das allgemeine Metriksystem bei CT integriert werden, wenn das von den Nutzern des Systems gew&uuml;nscht wird (e.g. eine Anbindung an das CT weite Data Warehouse).<br /><br />There is a Need to make quality visible (because self-deception of Managers: &quot;I can&rsquo;t see it, so it isn&rsquo;t important&quot;)<br /><br />Need to evaluate projects (and project managers) on quality achieved, NOT JUST ON DEADLINES MET.</body></html>]]></Description>


Later on we want to use a normal transformation into .pdf documents by utilizing xsl-fo/stylesheets and a tool like Antenna House but we are currently having a hard time with this. Are there any 'best practices' how to handle html content with xsl-fo transformation?

Mit freundlichen Grüßen
Joerg Battermann

Siemens AG
Medical Solutions
MED CTE
Siemensstr. 1
91301 Forchheim, Germany
Tel.: +49 (9191) 18-9232
mailto:HYPERLINK "mailto:joerg.battermann.ext@siemens.com"joerg.battermann.ext@siemens.com <mailto:HYPERLINK> 

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; 
Vorstand: Klaus Kleinfeld, Vorsitzender; Johannes Feldmayer, Joe Kaeser, 
Rudi Lamprecht, Eduardo Montes, Jürgen Radomski, Erich R. Reinhardt, 
Hermann Requardt, Uriel J. Sharef, Klaus Wucherer
Sitz der Gesellschaft: Berlin und München
Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684
WEEE-Reg.-Nr. DE 23691322
Received on Monday, 5 May 2008 14:54:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 May 2008 14:54:34 GMT