Getting Line Number of Node in XML Doc

Thursday, 24 September 2015 · 3 messages · last reply 25 Sep 2015
AK
ankit kumar24 Sep 2015 14:53 #
Hi, I just wanted to know , can basex provide line and column number of a element of a xml document loaded in BaseX database. Thanks, Anky.
CG
Christian Grün24 Sep 2015 18:51 #
That's not possible, sorry. Line and column numbers of the input document will never be stored in the database. One of many reasons is that they wouldn't make sense anymore after updates. Moreover, it would take additional memory.
Quoted text · ankit kumar · 8 lines
On Thu, Sep 24, 2015 at 2:53 PM, ankit kumar <anky4bugs at gmail.com> wrote: > Hi, > > I just wanted to know , can basex provide line and column number of a > element of a xml document loaded in BaseX database. > > Thanks, > Anky.
AK
ankit kumar25 Sep 2015 07:47 #
Thanks.
Quoted text · Christian Grün · 17 lines
On 24 September 2015 at 22:21, Christian Grün <christian.gruen at gmail.com> wrote: > That's not possible, sorry. Line and column numbers of the input > document will never be stored in the database. One of many reasons is > that they wouldn't make sense anymore after updates. Moreover, it > would take additional memory. > > > On Thu, Sep 24, 2015 at 2:53 PM, ankit kumar <anky4bugs at gmail.com> wrote: > > Hi, > > > > I just wanted to know , can basex provide line and column number of a > > element of a xml document loaded in BaseX database. > > > > Thanks, > > Anky. >

⚡Generated with XQuery