Upayavira wrote:
On 14 Aug 2003 at 15:34, Bertrand Delacretaz wrote:


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...


Simplifying further:
  <map:read src="docs/{1}.doc" view-generator="wordToXml"/>

Surely that'd do it?

this might be better, because what happens when someone comes along doing this:


<map:read src="docs/{1}.doc" unless-view="wordToXml"/>
<map:generate src="docs/{2}.doc" type="wordToXml"/>
....

Then the same request represents two difference "sources", which could be either confusing or very useful and I don't fully understand the implications of everything.

Just tossing my $0.02 in... it's early and I'm tired :)



Tony



Reply via email to