SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : The Server :

Previous DiscussionNext Discussion
 html dom on the server

Sometimes it would be nice to be able to access the same html dom that javascript "sees" - except on the server side. The problem is compounded by the fact that the server is usually jigging the pages with SSI and other processing before sending them out to the client, so just reading through the files themselves often isn't the same as how client side script might read the file. A solution on the server is to use a xmlhttp object to talk to itself so that it re-reads the served page. A page also might not be valid html or be able to be loaded as an xmldocument - but still client side dom methods seem to get over that and at least let you access the dom tree. I read somewhere that php has a module that gives you a client-side like dom on the server. Are there any for aspx / asp / iis?

Started By frumbert on Apr 11, 2006 at 4:02:43 PM

7 Response(s) | Reply

View All Replies | Goto Page: 1
frumbert on Apr 19, 2006 at 12:23:00 AM

no, actually it's not. Say I take an HTML file I made 10 years ago with badly nested markup, tags that are no longer supported, and so on. I don't want to load it on the client at all, ever, I want to load it internally on the server and parse it as if it were running on the client.

Ok can't be done.


View All Replies | Goto Page: 1

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2000 InsideDHTML.com, LLC. All rights reserved.