Node types
Can count more than just element nodes:
#element for elements
#pi for processing instructions
#comments for comments
#cdata for CDATA sections
#all for all of the above
#text for regions of character data (obsolescent)
Previous slide
Next slide
Back to first slide
View graphic version