• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Chapter 34. DOM-2 Range

The Core DOM regards an XML or XHTML document as a tree of nodes. Although the Core DOM enables you to manipulate this document tree on the node level, it doesn't allow for manipulating individual characters or general text across several nodes directly. To allow for that, the W3C has released the DOM Level 2 Range specification as a W3C Recommendation.

The Mozilla project tries to implement the W3C Range specification. So far the implementation is far from complete. This chapter can therefore only provide working code examples as far as Netscape 6 supports them.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint