Thanks for the info, but I don't want the parser to ignore the data; the data is what I need the most. The problem is that the url always parses halfway { it stops at $amp; }. Furthermore, I do not have control over the format of the xml document, as it is generated dynamiclly when the user searches.