How to capture InnerText?

How can I extract InnerText or InnerHtml from the HtmlTag?

I get the enumerator from e.Response.HtmlDocument.HtmlTags.GetEnumerator() and then the HtmlTag but I dont see any method available for extracting the InnerText or InnerHtml.

Can anyone suggest how to achieve this?

[420 byte] By [GaneshPalwe] at [2007-12-18]
# 1

You might be able to use the built-in extraction rule "Extract Text" to achieive this. You can specify the surrounding text with the "starts with" and "ends with" properties. Something like...

StartsWith=<TextArea.*>

EndsWith=</Textarea>

...could be used to extract the inner text of a textarea tag.

Thanks,

Rick

RickPotts-MS at 2007-9-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Web and Load Testing...

Visual Studio Team System

Site Classified