[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [kde-devel] DOM classes advanced usage help request
From:       Dirk Mueller <mueller () kde ! org>
Date:       2002-06-07 0:43:44
[Download RAW message or body]

On Fre, 07 Jun 2002, Juraj Novak wrote:

> 2. How to know offset of an DOM element(node) in 
> a parsed source file? Say when I ask DOM classes 
> for all <img> tags, I would like to know their 
> possitions from the begining of a file. Is it 
> possible at least for some nodes, e.g. 
> attributes? Or is it completely imposible and 
> one must use regular expressions for this? But 
> regular expressions don't build DOM trees, 
> that's the point :| 

you want for every node its position in the source file ? hmm, thats 
currently not stored. 


Dirk
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic