09-24-2003, 07:16 PM
i need to search for certain files
i was wondering which files can use DOM method on...
i need to search meta tags for particular attributes and their values
can I use DOM on these files?
I know I can ues it on HTML and HTM files but the rest...??
09-24-2003, 07:51 PM
09-24-2003, 08:08 PM
thanks for your answer..
i have another question
does this mean that i can have an ASP page from which I will open an html page and then using DOM methods i will retrieve a key/value pair from the <meta> tags
I need to create dynamic links and the path is in those html file within the <meta> tags...
is this possible or am i barking up the wrong tree?
09-24-2003, 08:12 PM
Hmm, I think the DOM is the wrong approach to this, you should do some string work on them in ASP instead. You see, even though DOM can be used serverside, it's not the most efficient technique to use in that many cases. DOM is better for clientside handling of documents, especially in user-document interactions.
09-24-2003, 09:48 PM
Ok thanks for the tip
i guess i will try to open then using TextStream object and then read each file line by line until i find the information i need to make the path