Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 36174 invoked from network); 12 Feb 2002 19:32:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Feb 2002 19:32:54 -0000 Received: (qmail 18358 invoked by uid 97); 12 Feb 2002 19:32:50 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 18270 invoked by uid 97); 12 Feb 2002 19:32:50 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 18245 invoked from network); 12 Feb 2002 19:32:49 -0000 Message-Id: <5.1.0.14.0.20020213081653.02a52690@actwelsvr14> X-Sender: bevan.arps@actwelsvr14 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 13 Feb 2002 08:28:50 +1300 To: "Ant Developers List" , "Ant Developers List" From: Bevan Arps Subject: Re: Submission - Ant Templating In-Reply-To: <200202121138.g1CBcL429030@mail012.syd.optusnet.com.au> References: <5.1.0.14.0.20020128082815.00ab7bd0@actwelsvr14> <5.1.0.14.0.20020128082815.00ab7bd0@actwelsvr14> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_171445996==_.ALT" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=====================_171445996==_.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed At 22:34 12/02/2002 +1100, Peter Donald wrote: >sweet! Looks great Ta! >So I agree it is nice - I implemented mine using code-fu but it looks like >you used pure xslt ? If so I like ;) Yes, pure XSLT. The only "funky" bit is the "attribute parameter substitution" code which took a little effort to put together. >I haven't used it widely yet - have you ? Can you tell us if there was any >problems brought up? I've been using Ant and XSLT to create some websites - mostly technology overkill, but a good way to learn. The templates have made it really simple to write the build files for each site. FWIW, here are the sites: http://www.geocities.com/arps_family/ http://homepages.paradise.net.nz/bevan/ http://www.geocities.com/craftykids2001/ I've also prototyped the templating on our production build system here at work and it seems to work well. However, since the project team here "expires" on 28 February, I won't be migrating those changes into production. The only Issues I ran across were these two: -- Since you can replace a parameter with anything, sometimes I replace "${srcDir}" with "${baseDir}/someplace". Without careful attention to parameter names you can cause some havoc with not getting what you expected. The solution is to ensure that your parameter names are unique and don't match your property names. -- There currently is no way to embed your own content in the middle of the template eg: if you write this bevan.arps@actfs.co.nz) Senior OO Analyst, ACT Financial Systems This communication is confidential to ACT Financial Systems (Asia Pacific) and is intended for use only by the addressee. The views and opinions expressed in this email are the senders own and do not represent the views and opinions of ACT Financial Systems (Asia Pacific). --=====================_171445996==_.ALT--