Hopefully this is a simple request.

To comply with a client's standards I need to wrap XML tags around all
href's in a feed they receive. The text is stored in a database varchar
field and occasionally includes HTML tags. When on of these tags is a link
it is entered like this:

<a href="target url">text</a>

pretty basic. The client has requested it be presented as such:

  <article.object type="url"> <a href="target url">text</a>
</article.object>

also pretty basic. I'm thinking that there must be a simple way for Witango
to do a find and replace so that each instance of '<a href' could be changed
to '<article.object type="url"> <a href'.

I do not want to store this change in the database but simply change the
display of fields in an array where <@col 8> may include href's or may not.

Does anyone have any experience with this that they can share?

Thanks in advance and thanks for the reminder to turn off auto response if
you're out of the office.


-Cornelius


________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to