cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sully <stinky...@yahoo.com>
Subject Re: HTML serializer to output php?
Date Fri, 11 Jul 2003 10:26:19 GMT
I managed to workout what was going wrong...

if you set the output method like <xsl:output
method="html" encoding="UTF-8" indent="yes"/> then it
will remove the processing instruction, hence the
reason it wasn't showing up for me before.

thanks for your help.

cheers
Sully



--- Derek Hohls <DHohls@csir.co.za> wrote:
> Sully
> 
> Try:
> 
> <xsl:processing-instruction name="php">
>   <xsl:text>echo "Foxtrot Golf";</xsl:text>
> </xsl:processing-instruction>
> 
> Should give you:
> 
> <?php echo "Foxtrot Golf";?>
> 
> 
> Derek
> 
> (PS I am reasonably sure you do not need a new
> serializer; I know programmers like to make things
> complex ... but XLST can do a lot for you - its
> designed
> to be able to change <tagX> into <tagY> with a
> minimum
> of fuss...)

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message