On 28.10.2011 06:22, Edwin Yip wrote: > Can we also get the character positions of both an element and an attribute? For DIXml, line numbers are stored with each xmlNode. See DIXml -> xmlNode in the DIXml.chm documentation. TDIHtmlParser.StartLine and TDIHtmlParser.StartCol return the start position of the current HTML piece which has just been parsed. Ralf _______________________________________________ Delphi Inspiration mailing list yunqa@xxxxxxxxxxxxx //www.freelists.org/list/yunqa