Hi, I've probably overlooked something in the manuals and references, but I can't find a method on how to extract the codepage/encoding declaration from an xml file using sax. ie a file with the following declaration: <?xml version="1.0" encoding="iso-8859-15" standalone="no"?> How do I get the encoding attribute? Regards, Remy