Added xf:xtract, and made extractors and transformers work with document nodes