LISTSERV mailing list manager LISTSERV 15.5

Help for XML-L Archives

XML-L Archives

XML-L Archives


Next Message | Previous Message
Next in Topic | Previous in Topic
Next by Same Author | Previous by Same Author
Chronologically | Most Recent First
Proportional Font | Monospaced Font


Join or Leave XML-L
Reply | Post New Message
Search Archives

Subject: Re: Traversing the HTML DOM in internet Explorer 5
From: "John E. Simpson" <[log in to unmask]>
Reply-To:General discussion of Extensible Markup Language <[log in to unmask]>
Date:Fri, 9 Feb 2001 08:36:41 -0500

text/plain (41 lines)

At 03:49 PM 02/09/2001 +1000, J Bijma wrote:
>Since IE5 has a DOM so it can display a document (I think ?)
>Is there any documentation, tutorials, books on how to traverse the HTML DOM
>of Internet Explorer and pull out specific fields?

The *HTML* DOM? So then presumably this is at least well-formed HTML,
right, if not actually XHTML? No plain old <br> or <img> tags lying around?
(I.e., they've been XMLized as <br /> and <img />, respectively.)

>I have a requirement where when a HTML file is being looked at the user
>wants to take the fields out of the tables and store them in an Access
>Database at will.
>I invisage a bit of VB Code that has a list of pre recorded path statements
>and can read the HTML DOM follow the paths and get the desired text in the

Actually, I think a better way to go would be to go in this case would be
to populate the page's table(s) on-the-fly, from whatever source (maybe
even an XML document? What a radical idea!). So it may look to the user as
though she's getting the data out of the tables, but she's actually getting
it from the same source used to fill the tables to begin with.

If you cannot (or don't want to) use some kind of external resource to fill
the tables, as suggested in the preceding paragraph, presumably you still
have *some* control over how the page is made up, no? That is, you're not
talking about a user going to some arbitrary page containing a table and
selecting its contents for import to Access?

In any case, what you're talking about doing should be more or less simple,
depending on how comfortable you are with VB(script) and/or XSLT and/or XPath.

You might check these resources for help with this kind of MS-based processing:

John E. Simpson          | "Is it weird in here, or is it just    | me?" -- Steven Wright
XML Q&A:     |

Back to: Top of Message | Previous Page | Main XML-L Page



CataList Email List Search Powered by the LISTSERV Email List Manager