OK. The previous was bogus. But now I get a real error with: This doesn't work:
<map:match pattern="*/**.xhtml"> <map:act type="resource-exists" src="{2}_{1}.xhtml"> <map:generate type="file" src="{../2}_{../1}.xhtml"/> <map:serialize type="html"/> </map:act> <map:generate type="file" src="{2}.xhtml"/> <map:serialize type="html"/> </map:match> <map:match pattern="*/login"> <map:read mime-type="text/html" src="cocoon:/{1}/content/login.xhtml"/> </map:match> It gives an XML Parsing Error: mismatched tag. Expected: </META> when it reaches the </head> tag of the file. The same file works here: <map:match pattern="*/login"> <map:generate type="file" src="content/login.xhtml"/> <map:serialize type="html"/> </map:match> Thanks