Dump a tree travaux.xml (with php) using DOM
This example demonstrates how to walk through parts of the XML tree
To have a look at the source code, please simple consult the current directory
* List Debug - The tree
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 1
Element Name =student
* List Debug - Children of student
This list has 9 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =campus
Attributes: [ login = nova ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =personal-data
Attributes: [ year = 1 ]
[ promotion = Gina ]
[ role = student ]
* List Debug - Children of personal-data
This list has 9 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =first-name
* List Debug - Children of first-name
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Nicolas
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =family-name
* List Debug - Children of family-name
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =NOVA
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =home-url
* List Debug - Children of home-url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/perso/staf/nova
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =email
* List Debug - Children of email
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =nicolas nova at somewhere
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =moo
Attributes: [ salle = http://tecfamoo.unige.ch:7778/objbrowse/6264 ]
[ personnage = the_icon ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercises
* List Debug - Children of exercises
This list has 27 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 24 ]
[ mod-day = 11 ]
[ creation-year = 2000 ]
[ creation-month = 11 ]
[ creation-day = 24 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 7 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 12 ]
[ ex-number = 1 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Rapport Usability Test
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf12/ex1/test.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 12 ]
[ mod-day = 4 ]
[ creation-year = 2000 ]
[ creation-month = 12 ]
[ creation-day = 4 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 7 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 11 ]
[ ex-number = 1 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Fiche expertise : "Les secrets de l'intelligence"
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf11/fiche1.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 11 ]
[ mod-day = 08 ]
[ creation-year = 2000 ]
[ creation-month = 11 ]
[ creation-day = 21 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 7 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 13 ]
[ ex-number = 1 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Rapport MEDIA
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf13/ex1/media.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 11 ]
[ mod-day = 08 ]
[ creation-year = 2000 ]
[ creation-month = 11 ]
[ creation-day = 21 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 7 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 13 ]
[ ex-number = 2 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Projet Staf 13
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf13/ex.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 11 ]
[ mod-day = 08 ]
[ creation-year = 2000 ]
[ creation-month = 11 ]
[ creation-day = 8 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 9 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 14 ]
[ ex-number = 1a ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Homepage
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/perso/staf/nova/welcome.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =report
Attributes: [ report-url = http://tecfa.unige.ch/staf/staf-g/nova/staf14/ex1/comment.html#home ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 12 ]
[ mod-day = 11 ]
[ creation-year = 2000 ]
[ creation-month = 11 ]
[ creation-day = 08 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 9 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 14 ]
[ ex-number = 1b ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Page travaux
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/welcome.sxml
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =report
Attributes: [ report-url = http://tecfa.unige.ch/staf/staf-g/nova/staf14/ex1/comment.html#travaux ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 12 ]
[ mod-day = 11 ]
[ creation-year = 2000 ]
[ creation-month = 11 ]
[ creation-day = 08 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 9 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 14 ]
[ ex-number = 1c ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Personnage moo
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfamoo.unige.ch:7778/objbrowse/6501
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =report
Attributes: [ report-url = http://tecfa.unige.ch/staf/staf-g/nova/staf14/ex1/comment.html#moo ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 12 ]
[ mod-day = 11 ]
[ creation-year = 2000 ]
[ creation-month = 11 ]
[ creation-day = 08 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 9 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 14 ]
[ ex-number = 1d ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Bureau moo
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfamoo.unige.ch:7778/objbrowse/6264
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =report
Attributes: [ report-url = http://tecfa.unige.ch/staf/staf-g/nova/staf14/ex1/comment.html#moo ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 12 ]
[ mod-day = 04 ]
[ creation-year = 2000 ]
[ creation-month = 12 ]
[ creation-day = 15 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 9 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 14 ]
[ ex-number = 2 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Questionnaire PHP
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf14/ex2/welcome.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =report
Attributes: [ report-url = http://tecfa.unige.ch/staf/staf-g/nova/staf14/ex2/comment.html ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 12 ]
[ mod-day = 04 ]
[ creation-year = 2000 ]
[ creation-month = 12 ]
[ creation-day = 15 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 9 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 14 ]
[ ex-number = 3 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Questionnaire Javascript
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf14/ex3/welcome.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =report
Attributes: [ report-url = http://tecfa.unige.ch/staf/staf-g/nova/staf14/ex3/comment.html ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2000 ]
[ mod-month = 12 ]
[ mod-day = 07 ]
[ creation-year = 2000 ]
[ creation-month = 12 ]
[ creation-day = 07 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 7 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 15 ]
[ ex-number = 1 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Projet
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf15/intro.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2001 ]
[ mod-month = 1 ]
[ mod-day = 5 ]
[ creation-year = 2001 ]
[ creation-month = 1 ]
[ creation-day = 05 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 7 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 16 ]
[ ex-number = 1 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Projet
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf16/ex1/welcome.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =exercise
Attributes: [ status = draft ]
[ version = 0.1 ]
[ mod-by = Nicolas ]
[ mod-year = 2001 ]
[ mod-month = 1 ]
[ mod-day = 5 ]
[ creation-year = 2001 ]
[ creation-month = 1 ]
[ creation-day = 16 ]
[ id = 1 ]
* List Debug - Children of exercise
This list has 7 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =staf
Attributes: [ no = 17 ]
[ ex-number = 1 ]
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =title
* List Debug - Children of title
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =Description du projet (Réalisé avec R. Glaus)
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 1
Element Name =url
* List Debug - Children of url
This list has 1 elements
-
* Element Debug, Infos:
Node Type = 3
Node Value =http://tecfa.unige.ch/staf/staf-g/nova/staf17/description.html
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =
-
* Element Debug, Infos:
Node Type = 3
Node Value =