commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Wagner" ...@xmlizer.biz>
Subject RE: [jelly] making xml:expr case-insensitive
Date Sun, 22 Dec 2002 11:08:13 GMT
Hi James

I tested it and it worked immediately. Thank you very much for reacting so
quickly!

==Bernhard

> -----Original Message-----
> From: James Strachan [mailto:james_strachan@yahoo.co.uk]
> Sent: Donnerstag, 19. Dezember 2002 16:04
> To: Jakarta Commons Users List
> Subject: Re: [jelly] making xml:expr case-insensitive
>
>
> From: "James Strachan" <james_strachan@yahoo.co.uk>
> > From: "Bernhard Wagner" <bw@xmlizer.biz>
> > >
> > >   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:commons-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:commons-user-help@jakarta.apache.org>


Mime
View raw message