cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bednarz, education-one GmbH" <>
Subject Need for short assistance
Date Tue, 12 Feb 2002 21:16:15 GMT

I am experienced to XML, XSL, JSP & JSP Taglibs but do not have the right
overview of cocoon 2. I need some help or advise how to implement the
following idea:

I would like to put a simple xml file with the following content (nothing
else) :

--- simple.xml ---
<?xml version="1.0" encoding="ISO-8859-1"?>
        Hello, today is <date/>
        You have <subscribers poolnr="1"/> new subscribers!

A standard XSL stylesheet should replace <date/> by "Jan 22th 2002" from a
Java statement. The second <subscribers/> should be replaced by Java code,
which looks in a database table and retrives the necessary information. I
know how to handle this problem easilly with JSP & Taglibs, but a Cocoon 2
solution would meet my future developement plans. Can anyone give me some
hints (do I need pipes?) or even a simmiliar complete example? Is there some
kind of API to develop custom tags or filters which can handle parameters
and body contents?

Thank you every kind of help or hint,

Andreas Bednarz, Germany

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