christoph pisze:
> Hi,
>
> how do I configure my Sitemap, that dojo has access to all js file it loads
> dynamically.
>
> I have the dojo file in Folder ./lib/dojo/dojo.js
>
> So I would read the dojo.js like
>
> <!-- JavaScript scripts -->
> <map:match pattern="*/*/*.js">
> <map:read mime-type="text/javascript"
> src="{1}/{2}/{3}.js"/>
> </map:match>
>
> how do I define the Reader that the file in
> /lib/dojo/src/animation
> /lib/dojo/src/cal
> .....
> are read as well?
Use something like this:
<map:match pattern="**.js">
<map:read mime-type="text/javascript" src="{1}.js"/>
</map:match>
If you wish to read about double asterisk, take a look at this page:
http://cocoon.apache.org/2.1/userdocs/default/wildcarduri-matcher.html
--
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]