Help required in changing the contents of a string
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
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|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|