cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject RE: XSP
Date Sat, 26 Aug 2000 19:20:43 GMT
Alejandro Raiczyk <alejandror@technisys.com.ar> wrote:
>it's not working:
>
><?xml version="1.0"?>
>
><?cocoon-process type="xsp"?>
><?cocoon-process type="xslt"?>
>
><xsp:page
>   language="java"
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core"
> >
>
><page>
>
>	<xsp:pi target="xml-stylesheet">href="espanol.xsl"</xsp:pi>
>

Creating a PI with a constant is a rogue case which does not work as 
expected. It should be

<xsp:pi 
target="xml-stylesheet"><xsp:text>href="espanol.xsl"</xsp:text></xsp:pi>

You need either <xsp:expr> or <xsp:text> in there, or any combination, for 
some reason.


--
Robin Green
i-tao Ltd.
4 Skyline Village
Limeharbour
London E14 9TS
United Kingdom
Phone +44 20 7537 2233  Fax +44 70 8081 5118
http://www.i-tao.com


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message