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 |