Hi David, My advice to you is this: don't be afraid of CPF. Read up on the concepts, then try the sample in this chapter:
http://docs.marklogic.com/4.2doc/docapp.xqy#display.xqy?fname=http://pubs/4.2doc/xml/cpf/quickStart.xml Then see if you can modify that sample to use XSLT instead. Once you understand what a domain is, what a pipeline is, and what an action is, CPF is really pretty easy (famous last words). -Danny -----Original Message----- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of David Sewell Sent: Thursday, March 10, 2011 1:06 PM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] Royal Road to CPF using XSLT? To paraphrase Euclid, I'm guessing there's no royal road to auto-applying XSLT to a document at load time into the database? Our use case is simply that for a given directory in one of our databases, we want to run all XML files through a particular XSLT stylesheet. We have managed to coexist with MarkLogic for a number of years without needing to use the Content Processing Framework Guide. Section 6.4.6 of that document is precisely "Using XSLT Stylesheets Instead of Action Modules". So... we bite the bullet and read up, or is there a cheat-sheet method? David s. -- David Sewell, Editorial and Technical Manager ROTUNDA, The University of Virginia Press PO Box 400314, Charlottesville, VA 22904-4314 USA Email: dsew...@virginia.edu Tel: +1 434 924 9973 Web: http://rotunda.upress.virginia.edu/ _______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general