Hi Ralf, After further investigation, I bought your DiHtmlParser :) Just one suggestion, add two properties: TDIHtmlParser.EndLine and TDIHtmlParser.EndCol On Fri, Oct 28, 2011 at 5:32 PM, Delphi Inspiration <delphi@xxxxxxxx> wrote: > 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 > > > > -- Best Regards, Edwin Yip Mind Mapping is as Effortless as Typing http://www.InnovationGear.com