RE: [xml-dev] How to escape &dt=... (org.dom4j.DocumentException)
> > One of my xml nodes contains an url that contains the text &dt=... > > When I try to parse this via DocumentHelper.parseText I get > the following exception: > org.dom4j.DocumentException: Error on line 21 of document : > The reference to entity "dt" must end with the ';' delimiter. Either the text contains & rather than & - or you have put the text through the parser twice. Michael Kay http://www.saxonica.com/