In addition to a file, allow a generic InputStream to be used as the input for an XML document. Note that this would require a plug-in or something to support includes properly (i.e. how do resource bundles, included configuration files, etc. get found?).