Friday, May 13, 2005, 9:28:23 PM, Amna & Kiran wrote:
AK> Hi
AK> If we have a file that is basically XHTML but contains some non-XHTML tags
AK> such as <abc>
In lenya/pubs/$pub/doctype.xmap add another match:
<map:match pattern="*/*/xhtml/**.xml">
<map:generate src="content/{2}/{4}.xml"/>
<!-- put your transformer here -->
<map:transform src="xslt/xhtml2xhtml.xsl">
<map:parameter name="rendertype" value="{1}"/>
<map:parameter name="nodeid"
value="{page-envelope:document-node-id}"/>
<map:parameter name="language"
value="{page-envelope:document-language}"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
This pipeline will match all requests for documents of type xhtml.
it should be added before <map:match pattern="*/*/*/**.xml">
--
qMax
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]