No you can not with the existing API's. ( If I am wrong, just bitch-slap me in public plz :) )
But maybe there is a way. If you create your own input source that keeps track of the current column and row. And combine it with a SAX parser that remembers the current node and when the input source reads the wanted position then the current node should be the one you requested. There are tons of pitfalls in this solution but I might work. Good luck. / Erik -----Original Message----- From: Joe Marini [mailto:[EMAIL PROTECTED]] Sent: den 2 november 2001 01:50 To: [EMAIL PROTECTED] Subject: Fw: Getting a node from raw offsets Hello? Anyone have any insights into this? Or know where I can get some more info on it? Thanks, Joe ----- Original Message ----- From: "Joe Marini" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 31, 2001 9:28 AM Subject: Getting a node from raw offsets > Hey everyone, > > If all I have to work with is the root document node and two offsets into > the raw text of the input document, how can I find out which node is > represented by the two offsets? > > Thanks, > > Joe > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
