}
Element albumNode = document.getDocumentElement();
//get the artist
Node artistNode = XPath.selectNode("artist", albumNode);
String artistName = XPath.selectText("name",artistNode);
Artist artist = new Artist(artistName);
//get the name
String albumName = XPath.selectText("name", albumNode);
Album album = new Album(albumName);
//get the date
String date = XPath.selectText("release-date",albumNode);