No idea if it solves your problem, but your description seems to have a
fair amount of similarity with Jelly:

http://jakarta.apache.org/commons/sandbox/jelly

so that might be of use.

Hen

On Wed, 31 Jul 2002, Ben Pezzei wrote:

> hi folx
>
> sorry, if this is a bit OT, but perhaps someone is able
> to help me with this
>
> i have the following problem (extremely stripped down ;):
>
> Is there a way to evaluate if a String contains a tag lib
> and if yes, how can i parse it.
>
> for example
>
> String s = "This is just a <a:link target="somwehere">Link</a:link>";
>
> where <a:link> is a custom tag  with tld and corresponding tag class.
>
> now i want to transform the String s to "This is just a
> <a href="somewhere?id=myid">link</a>". This transformation
> is actually done by the tag-class.
>
> is this possible? and if yes, can someone point me to a
> webpage or something? Or is there another way of accomplishing this
> (no regex)?
>
> I tried around with pagecontext, bodycontent and so on but without
> any success. also google'ing around was not helpfull.
>
> any help or hint would be great
>
> greetings
> ben
>
> --
> 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]>

Reply via email to