Re: [PHP-DOC] html transformations From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 10/16/01

cox <email protected> wrote:

> I want to write a parser over the docbook html output to highlight the
> php code in the pear manual. My problem is that now the docbook tag:
>
> <programlisting role="php">
>
> is converted to only:
>
> <PRE CLASS="programlisting">
>
> with not difference between one language and an another. How can I (or
> start looking at) convert the role="php" to something like <PRE
> CLASS="programphp">?

well, the "RIGHT THING"(tm) would be to extend the modular style
sheets (DSSSL or XSL, whatever you like best) to do so when generating
HTML from XML in the first place instead of modifying the generated
HTML

-- 
Hartmut Holzgraefe  hartmut <email protected>  http://www.six.de  +49-711-99091-77

Besuchen Sie uns auf der Systems in München in Halle B1 Stand 254