> The first child of the result of getDocumentElement is not guaranteed > to be an Element. The ClassCastException is telling you that you are > trying to cast a Text Node into an ElementNode -- which doesn't work.
Thanks so much! I think I looked everywhere else for the solution to this but right here. :( There was whitespace as the firstChild(), which is where I was getting confused. Thanks, Seth
