|
-
May 10th, 2006, 06:10 PM
#1
Thread Starter
New Member
-
May 11th, 2006, 01:08 AM
#2
Re: Using XmlDocument.Load to read in web pages
No but try doing a search on the HTMLDocument object. There is a Document Object Model for HTML docs as well which can make life easier depending on what you are doing.
-
May 11th, 2006, 01:14 AM
#3
Re: Using XmlDocument.Load to read in web pages
XML and HTML are two different languages. Just because they have a similar structure doesn't mean that something written to parse XML code should be able to read HTML code. HTML code that complies to the rules of XML is called XHTML and only if your Web pages conform to that spec will an XML parser be able to understand them. The chances of that are pretty minimal. Use the right tool for the job, as Edneeis suggests.
-
May 11th, 2006, 11:50 AM
#4
Thread Starter
New Member
Re: Using XmlDocument.Load to read in web pages
Terrific. Perfect solution.
One small problem... I'm using version .net 1.1 and the HTMLDocument object was introduced at 2.0.
Ok, so I need to upgrade. Is the upgrade I want Visual Studio 2005? I'm finding the Microsoft update info unhelpful since they talk about Visual Studio, not ".net".
-
May 11th, 2006, 02:20 PM
#5
Re: Using XmlDocument.Load to read in web pages
They dropped the .NET from VS with 2005.... so yes, VS2005 is the next version of .NET (specificaly .NET FW 2.0)
-tg
-
May 12th, 2006, 04:18 AM
#6
Re: Using XmlDocument.Load to read in web pages
You can use the HTMLDocument in any version via COM. The .NET version is based on the COM one anyway.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|