Stefano Mazzocchi wrote:
>
>
> Also, and more important, if a matcher doesn't have a
> mount|serializer|reader, it's an error. The sitemap shouldn't even be
> loaded.
>
Really? I thought something like:
<match pattern="documents/*.html">
<generate src="docs/{1}.xml"/>
</match>
<match pattern="documents/*.xml">
<generate src="{1}.xml">
</match>
<match pattern="**">
<transform src="stylesheet"/>
</match>
<match pattern="**.html">
<map:serialize type="html"/>
</match>
<match pattern="**.xml">
<map:serialize type="xml"/>
</match>
is possible! I have currently no real-world example handy, but
I think you can guess from the example the idea behind this.
I know, there are of course better solutions for the above
problem - this should be modelled completely different, but this
is not the point here.
If it is right, that a map:match must always have a serializer or
a reader than we have a big bug!
Carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]