Simplify Decoder Interface by merging node, exists and valid methods
XML Decoder