Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 56161 invoked by uid 500); 5 Sep 2001 07:43:06 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 56152 invoked from network); 5 Sep 2001 07:43:05 -0000 X-Authentication-Warning: ns1.dot.net.au: Host sdcax48-107.dialup.optusnet.com.au [198.142.202.107] claimed to be cockatoo Message-ID: <00c201c135de$ffcecf80$ea01a8c0@lakes.com.au> From: "Arnold deVos" To: Subject: ANN: Styler task extended to regular fragmentations, custom types. Date: Wed, 5 Sep 2001 17:47:07 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, this is to followup an earlier announcement of an XML/XSLT processing task for Ant. I've extended the styler task to allow custom parsers, transformers and serializers. Based on that, I've added a transformer for "regular fragmentations" (see http://simonstl.com/projects/fragment/ ). I expect the ability to split up element content to be rather useful in pipelines with XSLT transformations. Combined with the HTML parser it should make the styler task ideal for "screen scraping". One of our applications is to convert template.HTML->(styler pipeline)->skin.XSLT and then data.XML+skin.XSLT->(styler pipeline)->view.HTML The styler task makes useful combinations of XSLT transformations easy to specify in an Ant build file. Like the built-in task style, styler can apply a single transformation to a set of XML files. But it can also: * handle multiple transformations, in parallel or pipelined. * enable transformations that split or merge files * process non-XML files, especially HTML (based on JTidy) * apply non-XSLT transformation, especially "regular fragmentations" * use any custom XMLReader or XMLFilter class to handle new file formats and transformation techniques. Download under LGPL at http://www.langdale.com.au/styler/ -- Arnold deVos Langdale Consultants adv@langdale.com.au