...But what if we write it the other way around :
<map:read src="docs/{1}.doc">
<map:generate src="docs/{1}.doc" type="wordToXml" label="content"/>
</map:read>
I find this more understandable (but dunno about implementation):
<!-- if reader is executed, the rest is not -->
<map:read src="docs/{1}.doc" unless-view="wordToXml"/>
<map:generate src="docs/{1}.doc" type="wordToXml"/>
<map:transform...-Bertrand
