I'm new to java but making good progress, though still having trouble knowing which api to use for what. I'm trying to extract xml data from a string, the string being the contents of an xml file. I'm trying to use a SAXParser (xerces) but the xmlString below is expecting the url where the xml file is. SAXParser xr = new SAXParser(); xr.setContentHandler( new XmlParser() ); xr.parse(xmlString); Unfortunatly I can't access the url directly from this code. What can I use to parse a string of xml data?