in reply to xml formatting
I have a problem with decode_entities now. I am passing an xml file contents through decode_entities function before it is parsed using XML :: Parser.This is to decode all HTML encoded characeters in the xml file(For eg. XML file has "&" for "&"). But when I parse the xml file after that, the parser thows an error saying "non_well formed at line ". Can someone tell me why this happens? I want the output generated by XML::parser not to contain any HTML encodings. Hope this is clear...
Thanks in advance!