Attributes are not children. A standard NodeIterator will not walk into
them from their elements, though if initialized with an Attr as its root it
will walk the attr's subtree.

Sorry, but you really do have to do a bit more coding work to deal with the
attributes explicitly.

See the DOM Level 2 Traversal spec for more discussion of how to use
NodeIterator and TreeWalker. By now there's probably a good tutorial
somewhere on the web; unfortunately I never got around to writing the one I
had planned to provide. (I'm one of the authors of that part of the DOM.)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to