jet:working_with_nodes_and_elements
nodes et éléments
- elements
- element attributes
node types
12 types :
- Node.ELEMENT_NODE == 1 → node élément
- Node.ATTRIBUTE_NODE == 2 → node attribut
- Node.TEXT_NODE == 3 → node texte (contenu)
- Node.CDATA_SECTION_NODE == 4
- Node.ENTITY_REFERENCE_NODE == 5
- Node.ENTITY_NODE == 6
- Node.PROCESSING_INSTRUCTION_NODE == 7
- Node.COMMENT_NODE == 8
- Node.DOCUMENT_NODE == 9
- Node.DOCUMENT_TYPE_NODE == 10
- Node.DOCUMENT_FRAGMENT_NODE == 11
- Node.NOTATION_NODE == 12
Les == correspondent aux valeurs renvoyés par la propriété nodeType
jet/working_with_nodes_and_elements.txt · Last modified: 2016/01/20 17:31 by leo