Sully

According to Michael Kay - processing
instructions should be terminated by > and not
?> if using output method="html"  - maybe
try output method="xml"  and see if it retains it??
(it should work as well as this is the default for that
attribute)

Derek

>>> [EMAIL PROTECTED] 11/07/2003 12:26:19 >>>
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to