RE: [PHP-GTK-DOC] colored sample code?
| From: | Steph | Date: | Mon, 02 Aug 2004 20:35:02 +0000 |
| Subject: | RE: [PHP-GTK-DOC] colored sample code? | ||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1057@lists.php.net to get a copy of this message | ||
enable ext/xsl and it will magically appear
> -----Original Message-----
> From: Christian Weiske [mailto:cweiske@cweiske.de]
> Sent: 02 August 2004 21:23
> Cc: PHP-GTK Doc list
> Subject: Re: [PHP-GTK-DOC] colored sample code?
>
>
> 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
>