I use something like <map:match pattern="**.html"> <map:read src="{1}.html" mime-type="text/html" /> </map:match>
early in the pipeline. -----Original Message----- From: Rick [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 2:26 PM To: [EMAIL PROTECTED] Subject: C2: passing through straight HTML hullo all, we're doing a C2 app that's mostly XML-->XSLT stuff. but some of the docs offer links to old-fashioned, static HTML pages. we'd like to be able to just express a relative link in the XML source, to an HTML file that lives in the same directory as the XML. is there some quick-and-easy sitemap idiom for "just serve this as a static HTML file?" our alternatives seem to be (1) putting the static pages in the "regular" part of the web server, with absolute URLs in the XML source, and (2) adding rewrite rules to Apache to tell it "whenever you see this pattern that looks like it's going to cocoon but ends in HTML, just grab it from here instead." i'm not even sure that option 2 is viable, though. TIA, rw --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>