Hi,
I am not able to connect multiple xsl stylesheet to a single xml document.
I would like to create a portlet that sends html or wml or ... if it is
browsed by a computer, wap phone,...
In the psml registry file i set (trying to guess the syntax...)

<entry type="ref" parent="Cocoon" name="Marco"
application="true"><url>/content/dynamic/Marco/xsp/index.xml</url>
<parameter name="stylesheet"
value="/content/dynamic/Marco/xsp/indexhtml.xsl"/>
<parameter name="stylesheet" value="/content/dynamic/Marco/xsp/indexwml.xsl"
media="wap"/>   
<metainfo>
<title>Marco</title>
<description>Work in Progress.</description>
</metainfo>
</entry>

But it doesn't work because it says

CocoonPortlet: Could not use the following URL:
 http://localhost:8080/content/dynamic/Marco/xsp/index.xml
 Warning: can't output text before document element! Ignoring...

Thanks again for any hints

Marco



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to