[basex-talk] Re Re Add line-number function

2018-07-16 Thread Павел Павлов
Hi! Users send to us xml files according published xsd scheme. And they can use any software: any xml editor or special editors, developed by third companies, with textbox'es for fill business objects. So, our application does not have a graphical interface. Our software' main goal is to

[basex-talk] Re Add line-number function

2018-07-16 Thread Павел Павлов
Thanks for the detailed answer. Our software is developed in .NET. And we use BaseX as a Xquery processor. We use fn:path and return path to error element to user. But it's not enough. Our users are ordinary people, not IT, and they want to see in which lines of xml files there are mistakes. Now

[basex-talk] Add line-number function

2018-07-05 Thread Павел Павлов
> >Hello, could the $err:line-number [1] variable help you ? > >[1] http://docs.basex.org/wiki/XQuery_3.0#Try.2FCatch > >Best regards, > >Fabrice ETANCHAUD >cerfrancepch No, $err:line-number show line number of xquery file. I want this: Example.xml -> 1: 2:   3:      text1 4:      text2 5:  

[basex-talk] Add line-number function

2018-07-04 Thread Павел Павлов
Hello! Can you add to BaseX (as module) function "line-number" which retrieves the line number of the expression ? Same as in eXist-db ( http://exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/util=java:org.exist.xquery.functions.util.UtilModule=true ) or saxon (