ion (otherwise, due to performance considerations,
>>>> line numbers will be discarded as well).
>>>>
>>>> On query/database level, there are two ways to get a direct reference:
>>>> • With fn:path, you get an XPath expression that points to your node
>> On query/database level, there are two ways to get a direct reference:
> >> • With fn:path, you get an XPath expression that points to your node.
> >> • With db:node-pre [1], you get a direct reference to the node in a
> >> database.
> >>
> >>
p://docs.basex.org/wiki/Database_Module#db:node-id
>>
>>
>> On Thu, Jul 5, 2018 at 5:49 PM Fabrice ETANCHAUD
>> wrote:
>>
>>
>> As BaseX does not work on the XML textual representation, it might not be
>> possible.
>>
>>
>>
>>
>
s not work on the XML textual representation, it might not be
> possible.
>
>
>
>
>
> De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la
> part de ? ??
> Envoyé : jeudi 5 juillet 2018 17:10
> À : basex-talk@mailman.uni-konstanz.de
&g
on the XML textual representation, it might not be
>> possible.
>>
>>
>>
>>
>>
>> De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la
>> part de ? ??
>> Envoyé : jeudi 5 juillet 2018 17:10
>> À : basex-t
??
> Envoyé : jeudi 5 juillet 2018 17:10
> À : basex-talk@mailman.uni-konstanz.de
> Objet : [basex-talk] Add line-number function
>
>
>
>
>
>
>
> Hello, could the $err:line-number [1] variable help you ?
>
> [1] http://docs.basex.org/wiki/XQuery_3
As BaseX does not work on the XML textual representation, it might not be
possible.
De : BaseX-Talk [mailto:basex-talk-boun...@mailman.uni-konstanz.de] De la part
de ? ??
Envoyé : jeudi 5 juillet 2018 17:10
À : basex-talk@mailman.uni-konstanz.de
Objet : [basex-talk] Add line-number
>
>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@mailman.uni-konstanz.de
Objet : [basex-talk] Add line-number function
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.
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 (
10 matches
Mail list logo