cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Viana <>
Subject RE: Returning XML from another class
Date Tue, 27 Feb 2001 08:55:21 GMT

You can try something like this,
The following is a XSP page that retrieves its XML data source from a Java

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="sample3.xsl" type="text/xsl"?>
<xsp:page language="java" 
    <page title="MY TEST">
        TestBean1 testBean = new TestBean1();

Where "doXML()" is a class member(a method) that returns XML.

Hope this is what you are looking for,

Roberto V.

-----Original Message-----
From: Peter C. Verhage []
Sent: Monday, February 26, 2001 6:15 PM
Subject: Returning XML from another class

I want to create a class that returns XML that has to be "embedded" in a
certain Cocoon page... I looked at the FAQ how to do this. There are two

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message