[yunqa.de] Re: Pre-sale questions about DIHtmlParser

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Fri, 28 Oct 2011 11:32:23 +0200

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



Other related posts: