Hi Henri,
Sorry about my mistake (forgot to type in the <foo> tag), your example is
correct.
Basically I want to replace a tag within a long string with another tag.
At the moment, I have a workaround by replacing the name of the tag without the
angled brackets.
E.g.: <str:replace replace="foo" with="bar">
while what it really needs is
<str:replace replace="<foo>" with="<bar>"> which doesn't work
or
<str:replace replace="<foo>" with="<bar>"> which also failed
<str:replace replace="foo" with="bar"> creates problem if the actual non-tag
string includes the word 'foo'.
--- Henri Yandell <[EMAIL PROTECTED]> wrote: > Just to let you know
Cliffano. Have read the email and need to go research
> the idea. I'm assuming that rather than Kung Foo in your example, it
> should be <kung><foo>KungFoo</foo></kung>??
>
> I need to figure out what it is the taglib engine passes to me. Maybe I
> need a 'tagreplace' tag.
>
> Does anyone know if the xsl taglib would provide any support here? That
> way <foo> and </foo> would both be handled nicely I guess.
>
> Hen
>
>
=====
Cliffano Subagio
http://travel.yahoo.com.au - Yahoo! Travel
- Plan and book your dream holiday online!
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>