Hi,

> how do i get cocoon to recognize that I have a folder with XML files
> that I want parsed and shown on a website in its folder?

Don't know if i got the point but I've to possible answers :-)

Do you want to show all the xml files in the folder at the same time ?
If yes, you can use the Directory Generator
(http://xml.apache.org/cocoon/userdocs/generators/directory-generator.html)
and the cinclude Transformer to do this.

Or do you want that you just can point to one xml file in the folder like
this:
http://foo.bar/cocoon/myapp/myfolder/my.xml ?

Then you can use a pipeline:

<map:match pattern="myfolder/*">
     <map:generate src="{1}"/>
     <map:transform src="mystyle.xsl"/>
     <map:serialze/>
</map:match>

I hope that one of these answers fits to your question ;-)

kind regards
Jens Maukisch
-------------------------------------------------
s&n AG
netBank solutions
Klingenderstr. 5    mailto:[EMAIL PROTECTED]
D-33100 Paderborn   http://www.s-und-n.de
-------------------------------------------------
CeBIT 2003 * Hannover * 12.-19.3.2003
Besuchen Sie uns auf dem Stand der Software AG
Halle 18 EG * Bank-Finanz-Systeme * Stand A24.15
-------------------------------------------------


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

Reply via email to