problems traversing the dom with <link>

hansbrix

Newcomer
Joined
Jan 4, 2006
Messages
1
hello,

i'm writing a small program that traverses a webpage once it's loaded in the browser and alters parts of it. however using the dom facilities i'm unable to get past <link> or <style> tags. the .childnodes property doesn't report any nodes past here. this is a problem as i really want to access the rest of hte page.
if these tags aren't present, the .childnodes property is fine, and i can access it.

if i open up the webpage in vs then it reports "the active schema does not support the element 'link'", however that doesn't really shed any light as to why i can't get any further.

if you need any further info, just ask.

:)

thx
 
Back
Top