You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Daniel Fournier <df...@noos.fr> on 2002/08/30 10:37:29 UTC
Pattern wildcards meaning
Hi everybody,
Samples provided with Cocoon dist. use path-like style to parameterize
patterns, e.g.
<map:match pattern="*/*">
where, for instance, in sitemap administrator mind, 1st * is meaning "source
#1" and 2nd * "source #2" (these wildcards beeing use to aggregate two
sources).
Why not use a more verbose pattern like:
<map:match pattern="aggregate[source1=*][source2=*]">
using an XPath predicate-like style?
This way, you don't need to comment the pattern and everybody can immediatly
understand it.
What are Cocoon developers and users thinking of this suggestion ?
Daniel Fournier
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>