I'm doing a simple transformation of an xml file when an html file of the same
name is requested and no html file already exists. The site map entry is as
follows...
----
<map:match pattern="**/*.htm**">
<!-- HTML takes priority -->
<map:act type="resource-exists">
<map:parameter name="url" value="{1}/{2}.htm{3}"/>
<map:read src="{../1}/{../2}.htm{../3}" />
</map:act>
<!-- If the corresponding XML file exists, render it. -->
<map:act type="resource-exists">
<map:parameter name="url" value="{1}/{2}.xml"/>
<map:generate src="{../1}/{../2}.xml"/>
<map:transform src="context://stylesheets/xsl/page.xsl">
<map:parameter name="base-url" value="{../1}"/>
</map:transform>
<map:serialize/>
</map:act>
----
If I start tomcat, request the page, change the xml file within tomcat, and
request the page again, the changs are not reflected. It is only after I clear
the cache-dir directory and restart tomcat that the changes are reflected. Is
this normal? Is there a way to get the changes without shutting down tomcat?
[EMAIL PROTECTED]
---------------------------------------------------------------------
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]>