Re: colored sample code?

From: Date: Mon, 02 Aug 2004 20:23:19 +0000
Subject: Re: colored sample code?
References: 1 2  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1056@lists.php.net to get a copy of this message
Hi again
I would prefer a different approach: When the XSLT reaches a <programlisting role="php"> it should *call* an external script, pass the content of the node as parameter and expect the script to give the colored code back. But unfortunately the xslt specs don't have a solution for this... Does anybody know implementation-specific (proprietary) functions some processors support I need?
I read further; you can extend every xslt processor in some way with your own functions. Mostly they use C functions or so, but there are bindings to python and other languages. In the php manual the class "xsltprocessor" is mentioned; it even allows you to register php functions to be used in the transforming process. Unfortunatily, it's still experimental, and my php5 1.0.0 hasn't it. Seems to be in CVS only; and so we will not can expect to use it in the next months. Regards/MfG, Christian Weiske -- XMMS is playing now: Christina Aguilera - Infatuation

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.doc (#1056) next »