in reply to Re^3: XML::LibXML expand_entities always expands entities
in thread XML::LibXML expand_entities always expands entities

well, I'm afraid the solution is not sufficient, since the original document can contain some entities decoded and some not. Your solution will decode all possible entities. Is there some other way how to preserve entities in state as they were in the original document?
  • Comment on Re^4: XML::LibXML expand_entities always expands entities