I would like to have a default pipeline get applied to all files of the same type. My default pipleline converts the html to xsl, then runs the xsl with a preferences xml file to get site-wide defaults.
All *.html files should have this two-step processing, convert to XSL, transform with the preferences XML file. I guess the problem is I don't know how to reference the file the controller is looking at, that is, what is the local directory for the file? I need to pass that url as the data input to my first processor statement. (BTW, is the html serializer necessary?) Thanks for any tips. --Hank ============================================ Replying to a list? I'll get my copy there! Hank Ratzesberger http://crustal.ucsb.edu/ | http://neesgrid.org/ Institute for Crustal Studies University of California, Santa Barbara ============================================ Snippet from controller.xml: <page path-info="/(*.html)" matcher="oxf/processor/perl5-matcher" model="oxf:/default.xpl"> </page> default.xpl: <p:config xmlns:p="http://www.orbeon.com/oxf/pipeline"> <!-- Transform the xhtml into a stylesheet --> <!-- This step is only for preview pages --> <p:processor uri="oxf/processor/xslt"> <p:input name="config" href="./index.xsl"/> <!-- WHERE IS THIS URL? THE ONE GETTING EVALUATED IN CONTROLLER.XML? --> <p:input name="data" href="./index.html"/> <p:output name="data" id="xsl"/> </p:processor> <!-- Process xml data with stylesheet. All inputs are aggregated under /root --> <p:processor uri="oxf/processor/xslt"> <p:input name="config" href="#xsl"/> <p:input name="data" href="aggregate('root', /site-prefs.xml)"/> <p:output name="data" id="data"/> </p:processor> <!-- Deliver html --> <p:processor uri="oxf/processor/html-serializer"> <p:input name="config"> <config/> </p:input> <p:input name="data" href="#data"/> </p:processor> </p:config> _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
