Rafe, I currently do this as well for a content management system I built. I don't know if my answer is along the lines of your question but here it goes. Each XML doc represents some form of content, a navigation bar, general area of presentation, a heading, a footer, etc. Based on these classifications of content, I have instances of display, based on the content type (i.e. - possibly 3 different types of navigation bars). I wrote all of my XSL stylesheets to support these variants of each content type. To combine the selections of each of these content types (using a certain header with a certain footer and navigation bar), I use a mapping in the DB. From that mapping in the DB, CF writes out an XSL stylesheet for me using <xsl:include> to get to the appropriate style sheets. This stylesheet is only changed when I create or edit the mapping in the DB. Performance-wise I think it works pretty well. Haven't done any formal testing on it, the system is actually quite new. I hope this is along the lines of what you had in mind.
You might also want to look into a tag at http://torchbox.com/xml/transletwrapper.cfm. It's a CF wrapper for a technology called Translets I've been using in my Java apps. Has increased performance greatly when I played around with them. Haven't tried the CF wrapper though. Best of luck to you in system development. -Brian LeGros -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Friday, March 15, 2002 11:46 AM To: [EMAIL PROTECTED] Subject: [cf-xml] xslt and merging xml documents I'm building a content management system where various standard page elements are described as xml documents i.e. topbar.xml, menu.xml enabling me to allow users to add further menu items etc. therefore for each page I need to merge these documents using an xsl stylesheet. I'm interested in canvassing opinion on which merge technique people think is best. Rafe Fitzpatrick Web Developer http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- -----------------------+ cf-xml mailing list list: [EMAIL PROTECTED] admin: [EMAIL PROTECTED] home: http://torchbox.com/xml -----------------------+ cf-xml mailing list list: [EMAIL PROTECTED] admin: [EMAIL PROTECTED] home: http://torchbox.com/xml
