xpathFilter function
dom manipulation functions