|
Thread: Dom
-
Jun 21st, 2004, 11:51 AM
#1
Thread Starter
Addicted Member
Dom
I have searched the forum for DOM, but i dont understand what it does.
Previous posts, state what im trying to do, and as comfirmed by a memba DOM is the only way
In this post i would like to know exacly what DOM is and how it works
Thanks Adz
-
Jun 21st, 2004, 12:15 PM
#2
The DOM (which stands for Document Object Module) is the set of properties and methods that Microsoft supplies to enable people to work with XML files. For example the selectNodes method will get all the nodes with the value(s) you specify and the Length property will tell you how many nodes were found.
-
Jun 21st, 2004, 01:01 PM
#3
Thread Starter
Addicted Member
with that in mind, if i create a function in javascript on a html page that has a list of variabels then how could i get to run that function.
-
Jun 21st, 2004, 01:23 PM
#4
I don't do Javascript but I did a search of that forum and found this. BTW, as you may notice, I also moved your thread.
-
Jun 22nd, 2004, 08:30 AM
#5
Thread Starter
Addicted Member
Hi, I didn't notice but thanks if it will get more response.
Ok, now this is a tricky one i looked through wat thread you gave me but i dont really understand this. dont kill me for this :s but can some1 do me a template as i am struggling to understand it
all i want is a vb form that can populate a text box on a html/Javascript page inside the webcontrol on load and then on unload write wateva is in that box (or another one) back to the database.
Last edited by k0r54; Jun 22nd, 2004 at 08:37 AM.
-
Jun 23rd, 2004, 03:50 AM
#6
Thread Starter
Addicted Member
Is It possible unfortunatly i dont know anything about DOM, but if some1 cold give me an example then i could work from that
Many Tnx
Adz
-
Jun 24th, 2004, 02:01 AM
#7
The DOM (which stands for Document Object Module) is the set of properties and methods that Microsoft supplies to enable people to work with XML files. For example the selectNodes method will get all the nodes with the value(s) you specify and the Length property will tell you how many nodes were found.
Right, yet wrong.
DOM stands for Document Object Model, not module. It's a standardized interface to work with XML files, but the standard is set by the W3C, not Microsoft, who merely provide implementations of it. Other implementations are provided by the Apache organization in their Xerces parsers, the Gnome project with libgnodom or something like that, the Mozilla project via XPCOM for Mozilla, ...
The list is long. That's the nice thing about standards.
Currently there are 4 versions.
DOM Level 0 isn't a standard. It's the common name for NS4's document.layers and IE4's document.all object models.
DOM Level 1 was the first attempt at providing a standard interface. It provides many ways of manipulating the DOM tree.
DOM Level 2 is an extension. It's separated into modules. The core modules does what Level 1 did, but has added support for XML namespaces. The events module provides event handling, like onclick. The view module integrates the window object into the DOM. The style module handles stylesheets in general, the CSS module CSS rules and sheets.
DOM Level 3 is yet another extension. Browser support is as of yet poor, the standard isn't finished. It provides ways for loading and saving DOM trees into XML documents. Among other things.
At www.w3.org you can review the full standards and proposals.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jun 24th, 2004, 10:40 AM
#8
Originally posted by CornedBee
Right, yet wrong.
DOM stands for Document Object Model, not module. It's a standardized interface to work with XML files, but the standard is set by the W3C, not Microsoft, who merely provide implementations of it. Other implementations are provided by the Apache organization in their Xerces parsers, the Gnome project with libgnodom or something like that, the Mozilla project via XPCOM for Mozilla, ...
The list is long. That's the nice thing about standards.
Currently there are 4 versions.
DOM Level 0 isn't a standard. It's the common name for NS4's document.layers and IE4's document.all object models.
DOM Level 1 was the first attempt at providing a standard interface. It provides many ways of manipulating the DOM tree.
DOM Level 2 is an extension. It's separated into modules. The core modules does what Level 1 did, but has added support for XML namespaces. The events module provides event handling, like onclick. The view module integrates the window object into the DOM. The style module handles stylesheets in general, the CSS module CSS rules and sheets.
DOM Level 3 is yet another extension. Browser support is as of yet poor, the standard isn't finished. It provides ways for loading and saving DOM trees into XML documents. Among other things.
At www.w3.org you can review the full standards and proposals.
You're right about Model/Module but when anyone here refers to the DOM it's assumed (at least by me) that they are talking about Microsoft's implementation of the DOM which contains some things not in the standard DOM. Anyhow thanks for the additional information.
-
Jun 24th, 2004, 10:44 AM
#9
I gather this was originally posted in the VB forum? Because all people who are here for HTML and Javascript won't think of MSXML, except as far as IE uses it.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|