all groups > dotnet sdk > april 2005 >
You're in the

dotnet sdk

group:

How to load html string into html dom in .Net?


How to load html string into html dom in .Net? cindy liu
4/6/2005 11:59:06 AM
dotnet sdk: Hi,

I have a piece of html code and want to load it into html dom. Can I do it
in .net? Is there any APIs to manipulate html dom in .net?

Thanks in advance,
Re: How to load html string into html dom in .Net? Joerg Jooss
4/6/2005 1:17:29 PM
[quoted text, click to view]

Try SgmlParser from GotDotNet or the HTML Agility Pack
(http://blogs.msdn.com/smourier/archive/2003/06/04/8265.aspx).

Cheers,
--
http://www.joergjooss.de
Re: How to load html string into html dom in .Net? cindy liu
4/6/2005 5:07:05 PM
Hi Joerg,

That url doesn't work. I got the following error:

Server Error in '/' Application
--------------------------------------------------------------------------------

SQL Server does not exist or access denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: SQL Server does not
exist or access denied.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:


[SqlException: SQL Server does not exist or access denied.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction) +474

System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
MSDNRedirect.RedirectModule.GetMsftBloggerLookupTable() +190
MSDNRedirect.RedirectModule.Application_BeginRequest(Object sender,
EventArgs e) +274

System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +87




[quoted text, click to view]
Re: How to load html string into html dom in .Net? cindy liu
4/6/2005 5:21:03 PM
Thank you, Joerg. I got it. The previous error goes away now.

Thanks,
Cindy

[quoted text, click to view]
Re: How to load html string into html dom in .Net? Joerg Jooss
4/8/2005 12:15:53 PM
[quoted text, click to view]
[...]

The blog was probably down. Can't fix it 'cause it ain't mine ;-)

Cheers,
--
http://www.joergjooss.de
AddThis Social Bookmark Button