[fpc-pascal] detect setting of encoding in XML

Marc Santhoff M.Santhoff at web.de
Wed May 27 02:09:22 CEST 2009


Hi,

I'm loading two differend kinds of xml data files into a dom tree
(DOM.TXMLDocument). These files differ only in smart amounts and the
most prominent one is the xml tag having an "encoding" attribute set:

<?xml version="1.0" encoding="UTF-8"?>

or

<?xml version="1.0"?>

Is it possible to ask the TXMLDocument about this difference?
If so, how can I do?

TIA,
Marc

-- 
Marc Santhoff <M.Santhoff at web.de>




More information about the fpc-pascal mailing list