Hi James I tested it and it worked immediately. Thank you very much for reacting so quickly!
==Bernhard > -----Original Message----- > From: James Strachan [mailto:[EMAIL PROTECTED]] > Sent: Donnerstag, 19. Dezember 2002 16:04 > To: Jakarta Commons Users List > Subject: Re: [jelly] making xml:expr case-insensitive > > > From: "James Strachan" <[EMAIL PROTECTED]> > > From: "Bernhard Wagner" <[EMAIL PROTECTED]> > > > > > > 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... > > <html:parse var="doc" html="index.html" element="upper" > attribute="lower"/> > > or to make everything lower case > > <html:parse var="doc" html="index.html" element="lower" > attribute="lower"/> > > > 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 > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
