> > That's very interesting. I don't recall ever seeing 'peer' <map:act> > > elements in the various sample sitemaps, only nested <map:act> > elements. > > > > Does that also mean that one could do the following to selectively > read from > > an existing file or apply transforms? > > > > <map:match pattern="*.fragment"> > > <!-- If the file is static, return it now --> > > <map:act type="resource-exists"> > > <map:parameter name="url" value="{1}.fragment" /> > > <map:read ... /> > > </map:act> > > > > <!-- Choose a source --> > > <map:generate src="{1}.xml"> > > > > <!-- If XSLT of same name exists, use it otherwise skip it --> > > <map:act type="resource-exists"> > > <map:parameter name="url" value="{1}.xsl" /> > > <map:transform src="{../1}.xsl" /> > > </map:act> > > <map:serialize /> > > </map:match> > > Yes. > > See lint.xmap
I don't see it in 2.0.3, is lint.xmap a 2.1 file? Will it work under 2.0.3? Per --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>