cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis, Andrew J" <Andrew.Le...@jbosc.ksc.nasa.gov>
Subject RE: A Transformer in progress....
Date Fri, 10 May 2002 20:23:50 GMT
Yeah....it will solve part of the problem...but not the whole thing by any
means....

Still debating on it...

> ----------
> From: 	Ivelin Ivanov[SMTP:ivelin@apache.org]
> Reply To: 	cocoon-dev@xml.apache.org
> Sent: 	Thursday, May 09, 2002 9:18 PM
> To: 	cocoon-dev@xml.apache.org
> Subject: 	Re: A Transformer in progress....
> 
> 
> Did you look at Jakarta Digester?
> http://jakarta.apache.org/commons/digester.html
> 
> ----- Original Message -----
> From: "Lewis, Andrew J" <Andrew.Lewis@jbosc.ksc.nasa.gov>
> To: <cocoon-dev@xml.apache.org>
> Sent: Thursday, May 09, 2002 5:58 PM
> Subject: A Transformer in progress....
> 
> 
> >
> >
> > > I'm working on a Transformer that processes specifically text nodes
> and
> > > using regular expressions, wraps matched portions of a node in a tag.
> I'm
> > > really just getting started on it - I have the basics working, but
> still
> > > need to be able to specify the rules in an external file, etc. It has
> been
> > > an interesting excercise so far, and the intent is to be able to
> detect
> > > things like dates, currency amounts, and units of measure in a text
> node,
> > > and mark them for later processing.
> > >
> > > I am planning on allowing rules to be specified in an external file
> > > identified at componenet configuration, or directly in the component
> > > configuration. I am also planning on allowing the "replacement" to be
> a
> > > complete fragement with groups from the matched expression
> referencable
> > > (and replaced) in etiher attribute values or text nodes. (currently I
> > > merely enclose the match in a tag).
> > >
> > > Before I move on, has anyone else already done something like this?
> Does
> > > anyone (other than me) think it would be useful?
> > >
> > > Ok...now to my real question...
> > >
> > > Does anyone know of existing code that I can use to track and identify
> if
> > > the current point in the SAX stream matches a simplified XPath
> expression?
> > > I would really like to apply expression rule set based on an XPath
> subset.
> > >
> > > Any comments or suggestions?
> > >
> > > Thanks!
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message