I'm looking for an object that will let me supply it with some HTML code (submitted by the user) and return a collection of objects like the HTML DOM. I'm trying not to do this with a reg ex, but If I must, I will.
For example:
A user submits some HTML. It has some links in it. I want to be able to readjust those links as if by sayingVB Code:
'Total psuedocode 'Take no stock in poor syntax Dim objDoc As New HTMLDocumentReader 'I wish Dim colA As [i]Elements[/i] colA = objDoc.document.getElementsByTagName("a") For i = 0 To colA.length - 1 colA(i).href= "MyHREF" Next




Reply With Quote