On Sat, Jan 25, 2003 at 05:21:13AM +0100, Robert Simmons wrote:
> I currently have the cocoon war installed on my JBoss 3.0.4 server. It
> works fine. I deployed a second war file that contains an XML and an
> XSL. The XML has an embedded xsl:stylesheet processing instruction.

Embedded stylesheets are very unusual.. are you sure it's Cocoon applying
the embedded stylesheet, or the web browser?

> When I go to the URL inside the war and hit the XML page, the
> translation is made fine. 
> 
> Ok so here is the question. I am now thinking of doing something a bit
> more than static XML pages. What would be the bare minimum? Do I have
> to copy the cocoon war and all the libs in it to another deployment or
> can I use the jars already deployed in the war?

Each war has one main sitemap.  Each sitemap can have lots of different
pipelines.  Where did the 'second war file' you mention come from?  Did
you copy the sitemap and WEB-INF/cocoon.xconf from the Cocoon samples
war?

> Do sitemaps work outside of the cocoon war?

No.  Wars are completely self-contained things.

> How can I set up a simple application, prior to considering generators,
> outside of the cocoon deployment?

What do you mean, 'outside' a deployment?

> Note. The lack of truly newbie cocoon documentation is appalling. 

Fortunately we have a Wiki where anyone can document things.  This page
looks quite relevant to your question:

http://wiki.cocoondev.org/Wiki.jsp?page=SimpleTransformations


--Jeff

> -- Robert

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to