LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-26-2006, 03:59 PM
joeprice joeprice is offline
Registered User
 
Join Date: Sep 2006
Posts: 2
Rep Power: 0
joeprice is on a distinguished road
Help required in changing the contents of a string

hi guys

I'm reading in a series of xml files (which I cannot change the structure of) which contain a passage of text like that below
Here is an example:

Since iritis is associated with HLA B27, it may obviously occur in any of the <GLOSS ID="seronegative">seronegative</GLOSS><SMALLIMAGE width="348" height="254">charcothip.jpg</SMALLIMAGE>

I am displaying this text in a html textfield. However for it to display properly, I need to replace the <SMALLIMAGE> tag with
<IMG SRC="charcothip.jpg"/> etc
I can do a replace on <SMALLIMAGE and turn it to <IMG , however how do i add the SRC="charcothip.jpg"> ?

can anybody provide me with some suggestions for how to do this?
Any ideas and suggestions would really be appreciated

Thanks
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing dynamic text field under mask created at runtime tristian Flash MX 5 12-18-2006 04:26 PM
String problem - delimiter bat7 All Things Apple 2 06-29-2005 11:54 AM
String.concat() or myString + myString ? lukasbradley Flash MX ActionScript 7 12-24-2004 07:12 PM
Loading Variable from file kuman Flash 5 Actionscript 5 09-17-2001 03:07 AM
Extracting part of a string theUKdude Flash 5 Actionscript 6 07-30-2001 08:54 AM




All times are GMT. The time now is 04:44 PM.