php-documentation-list | 2003031

[PHP-DOC] Question concerning xsl-styles From: Thomas Schöfbeck (tom <email protected>)
Date: 03/11/03

Hi all,

as you can see on the newly committed xsl-styles, the html and bightml
versions seem to work fine (some design-improvements are always possible
;), but I have a problem with the fo-styles (or the FOP-behavior):

xsltproc does output-escaping also on quotes (" -> &quot;), but FOP
stops with an [error 1] if it stumbles over a &quot;. So I thought that
I do a workaround and do a disable-output-escaping on some places like
the faq-questions, but then I run into the prob of "&lt;" getting "<" (a
good example is FAQ-question 47.4, where '"' are included as well as
'&lt;', where FOP stops eighter because of the &quote; or the <x>).

Programming all these cases can't be the way (and the next day a new
fop-version is out, which understands &quot; also :).
Using XALAN as processor (which doesn't escape the quotes) is also not
the optimum, because we would have to run a script to merge the
function-files before xalan to overcome the max. open files limit.

Does anybody have an idea?

Thomas

-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php