- Use node.hasAttributes() rather than asking for node.attributes and
then checking whether it is true. (Should be slightly faster.) - Use getAttributeNodeNS() to check for z:omit="" properly.
Showing
Please register or sign in to comment