Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 13502 invoked from network); 22 Aug 2008 23:51:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2008 23:51:16 -0000 Received: (qmail 37827 invoked by uid 500); 22 Aug 2008 23:51:14 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 37660 invoked by uid 500); 22 Aug 2008 23:51:14 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 37649 invoked by uid 99); 22 Aug 2008 23:51:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 16:51:14 -0700 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of gavin@16degrees.com.au does not designate 61.9.189.143 as permitted sender) Received: from [61.9.189.143] (HELO nschwmtas03p.mx.bigpond.com) (61.9.189.143) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 23:50:16 +0000 Received: from nschwotgx03p.mx.bigpond.com ([124.185.182.143]) by nschwmtas03p.mx.bigpond.com with ESMTP id <20080822235026.WFBF17360.nschwmtas03p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com> for ; Fri, 22 Aug 2008 23:50:26 +0000 Received: from developer ([124.185.182.143]) by nschwotgx03p.mx.bigpond.com with ESMTP id <20080822235026.YSFH11041.nschwotgx03p.mx.bigpond.com@developer> for ; Fri, 22 Aug 2008 23:50:26 +0000 From: "Gavin" To: Subject: including content of other files into xsl stylesheet Date: Sat, 23 Aug 2008 09:52:27 +1000 Message-ID: <00df01c904b2$22104070$0200a8c0@developer> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AckEsiFweU7qvLgbQLuQuP3/am0nQQ== X-Antivirus: avast! (VPS 080822-0, 22/08/2008), Outbound message X-Antivirus-Status: Clean X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150204.48AF50C2.005F,ss=1,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org Hi All, In the OOo output plugin there is a stylesheet (xdoc-to-odt.xsl). In it , contains sections for adding content to xml files and then zipping them all into the one .odt file. such as :- stuff goes here stuff goes here ... What I would like to do, is separate the actual "stuff goes here" content into their own xml files (content.xml, meta.xml, etc) and have that content included instead. The xslt is big enough as it is but there is more to do. To add a
    transform for instance I also need to include a block of styles to go with it. This file can easily get too big for easy maintainability and I would really only like the actual templates to exist in this file. So , any ideas? Thanks Gav...