Save 14 bytes
Fixes #13265 - Ignore all nodes except for: elements, document fragments and documents