Parsing custom tags?
I have created a custom tag "<wm_object slot=1 />" which is returned with other HTML into a string which I need to parse in order to replace with other HTML. Does anyone know if there is an easier way than using .IndexOf etc. to replace the Tag? Is there not some kind of function/class I can use to pull the tag by its name and then get its attributes?
The problem being I am dealing with a string variable with the code in and not an actually HTML page...
So something like....
s_HTML = "<html><body><h1>testing</h1><span><wm_object slot=1/></span></body></html>";
Needs to become....
"<html><body><h1>testing</h1><span><table><tr><td>slot one response...</td></tr></table></span></body></html>"
Thanks for the help