yep.  pulling all of this out as i need it for the PayloadXmlDecoder as well