try {
URL baseURL = new URL(base);
URL combURL = new URL(baseURL, href);
String path = combURL.getPath();
ContentClient content = client.getContent(path);
String doc = content.getDocumentAsText();
StringReader sr = new StringReader(doc);
String systemID = URL_PREFIX+path;
return new StreamSource(sr, systemID);
}