Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 5670 invoked by uid 98); 19 Dec 2002 15:05:36 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 5200 invoked from network); 19 Dec 2002 15:05:33 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 19 Dec 2002 15:05:33 -0000 Received: (qmail 53838 invoked by uid 500); 19 Dec 2002 15:04:20 -0000 Received: (qmail 53831 invoked from network); 19 Dec 2002 15:04:20 -0000 Received: from smtp017.mail.yahoo.com (216.136.174.114) by daedalus.apache.org with SMTP; 19 Dec 2002 15:04:20 -0000 Received: from mail.touchdownconsultants.com (HELO lndevjs) (james?strachan@213.121.165.114 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 19 Dec 2002 15:04:21 -0000 Message-ID: <02a801c2a76f$e2d05df0$9865fea9@spiritsoft.com> From: "James Strachan" To: "Jakarta Commons Users List" References: <026e01c2a76a$e67e8b20$9865fea9@spiritsoft.com> Subject: Re: [jelly] making xml:expr case-insensitive Date: Thu, 19 Dec 2002 15:04:08 -0000 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 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: "James Strachan" > From: "Bernhard Wagner" > > > > 1) Can I configure html:parse to change the case setting of the > retrieved > > document? How? > > > The NeckoHTML parser already allows for this. I'll add these customisation > options to the Jelly tag in a moment. OK I've finished the unit tests - it seems to work fine now. Its all in CVS HEAD. You can now use NeckoHTML's features for turning elements or attributes upper case or lower case (or in the case of elements, matching them) via specifying an element and attribute attributes. e.g. to upper case the elements but lowercase the attributes you can do... or to make everything lower case The default is to leave case as it was but to match element case (so that open and close elements have the same case). James ------- http://radio.weblogs.com/0112098/ __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com