Min Song's Weblog
Mittwoch, 28. November 2007
DOM (new)

DOM spielt eine ganz wichtige Roll im Bereich von Javascript und XML.

Jetzt darf ich euch einem Beispiel der Struktur vom Dokument“Dokumentstammbaum”vorstellen
Dieser Dokumentstammbaum sieht wie ein Familienstammbaum und die Struktur vom Dokument (hier, ist es ein XHTML- Dokument) wird geschildert wie das Verhältnis der verwandter Familien.
Schauen wir nun das Bild wie folgt an:


Das Bild hat eine klare Konstruktion und übersichtliche Information gezeigt.

 Was sind wichtigste aus dem Bild?Ich habe ganz kurz einfach zusammengefasst
ROOF has two sons, one is HTML, and the other is BODY
- It is easy to know that: HTML’s son is HEAD, and HEAD’s son is Title.Title’s son is KOCHBAR.
- It is also easy to know that: BODY’s son is P, and P’s son is HELL WELT.
- One important information, which in this picture is not so easy to recognize, is that: HEAD and BODY are brothers, which means they have the same mother HTML.
- Another important Information also about the relationship between HEAD and BODY, which from this picture can not be recognized, is that: HEAD is older than BODY. This means, HEAD comes to this world earlier. He comes at fist, and then BODY follows.
Jetzt ergänzen wir das Bild um Namensraum und Attributknoten.


Was bedeutet Knoten hier?Die Knoten hier sind die Bestandteile von diesem Dokumentstammbaum. Er würde einem bestimmten Element entsprechen.
Kurz zusammengefasst:
Namensraumknoten und Attributknoten, beide wird durch lang und xml:lang abgebildet.

Quelle:

Michael Jendryschik,Das Document object Model,2000-2007

... comment

Online for 6196 days
Last update: 2008.02.04, 13:11
status
You're not logged in ... login
menu
... home
... topics
... galleries

... ::collabor:: home
search
 
calendar
November 2007
Mo
Di
Mi
Do
Fr
Sa
So
 
 
 
 1 
 2 
 3 
 4 
 5 
 6 
 7 
 8 
 9 
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
29
30
 
 
 
recent updates
*g* Gibt es sehr viel...
*g* Gibt es sehr viel lustige Videos. Gestern habe...
by Jing Gao.Uni-Linz (2008.02.04, 13:11)
tolle YoutTube
habe sehr viel davon profitiert. lol sind laut lustige...
by Yan Zhou.Uni-Linz (2008.01.27, 16:00)
verbesserte Homepage
von 1. Hausaufgabe habe ich nur 1 Punkt bekommen,deshalb...
by song.min.Uni-Linz (2008.01.24, 12:25)
ich finde deinen Beitrag...
ich finde deinen Beitrag sehr interessant, wenn du...
by Sabine.Gmeiner.Uni-Linz (2008.01.24, 10:41)
Netzwerktools einsetzen
Ping AM 12.Jänner (Samstag) um17:43 Uhr...
by song.min.Uni-Linz (2008.01.22, 13:19)

xml version of this page

made with antville