Sorry, I had misread your post. I realize now that that part I responded to was just the set-up; the rest of your post describes your attempt to get the "real way" to work, yes?

~ml


On Sunday, October 19, 2003, at 05:15 AM, Mark Lundquist wrote:



On Saturday, October 18, 2003, at 05:01 PM, Justin Makeig wrote:


I've read the documentation and the Wiki as well the most recent CLI threads
in July and earlier this month. However, I can't seem to figure out how to
configure the cli.xconf for my webapp.


The site I'm building is dynamic, using Cocoon 2.1.1 to transform aggregated
XML docs at run-time. Part of this aggregation is a static table of contents
(TOC) document that is generated at design-time with a transform on Cocoon's
directory generator output.


<map:match pattern="toc">
    <map:generate src="xml/site" type="directory">
        <map:parameter name="depth" value="10"/>
    </map:generate>
    <map:transform src="xsl/gentoc.xsl"/>
    <map:serialize type="xml"/>
</map:match>

I request http://server:8080/toc to generate the XML in my browser. By hand,
I paste the resulting XML into a file called toc.xml. This is a mind
numbingly arduous process that I hoped to automate in the deployment process
with Ant. However, the first step is generating toc.xml with Cocoon's
command line interface. Because I need to use the directory generator, I
don't see a way around this.

I don't know very much about Cocoon yet, so I wouldn't be surprised if there's a more direct way than this, but...


Couldn't you just use curl, instead of copy/paste out of a browser?

It still seems hacky, but at least you could automate that.

~ml


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



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



Reply via email to