cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Documentation Mistake (was Re: xsp:pi correct usage?)
Date Tue, 11 Jul 2000 11:27:23 GMT
In docs/xsp.html the example is incorrect. The text above it says "xsp:pi 
requires a target attribute" but the example does not have a target 

The example given there should be

<xsp:pi target="xml-stylesheet">

NOT <xsp:pi name="xml-stylesheet"> !

Joshua Spoerri wrote:
>After reading, i tried:
><?xml version="1.0"?>
><?cocoon-process type="xsp"?>
><?cocoon-process type="xslt"?>
><?xml-stylesheet href="../samples/xsp/page-html.xsl" type="text/xsl"?>
><xsp:page language="java" xmlns:xsp="">
><xsp:pi name="xml-stylesheet">
>         href="../samples/xsp/page-xsp.xsl"
>         type="text/xsl"
><page>this is a test: <count /></page>
>and <count /> doesn't get translated by page-xsp.xsl !
>what am i doing wrong ? is there any documentation for using xsp:pi ?
>please respond by email, since i'm not subscribed to the list yet.

Unfortunately your email address did not appear in my Hotmail display. It 
said Joshua Spoerri <>. Very odd.

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

Get Your Private, Free E-mail from MSN Hotmail at

View raw message