W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

node->start or howto get the position from input data

From: Coursimault, Jean-marc <Coursimault@xrce.xerox.com>
Date: Fri, 11 Apr 2003 11:22:20 +0200
Message-ID: <B792B80756A1D511B9BD00508BB8CDB2015A2505@macedoine.grenoble.xrce.xerox.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
Hello
 
I need to know the exact byte position of text in the input.
 
For example, if the doc contains <html><head></head><body>foo<.....
I want to know that foo begins at position 26.
Does node->start (and node->end for the end) contain this ?
 

-- Jean-Marc
____________________________________________________________
Jean-Marc Coursimault         |
Xerox Research Centre Europe  | Tel   +33 (0)4 76 61 51 82
Systems Dev. & Engineering    | Fax   +33 (0)4 76 61 51 99
6, chemin de Maupertuis       | 
38240 Meylan (France)         | coursimault@xrce.xerox.com
  

 
Received on Friday, 11 April 2003 06:04:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:54 GMT