Search found 5 matches

by mrwatson-de
Fri Apr 17, 2020 7:01 pm
Forum: XQuery
Topic: Perform xquery on an xml file … WITHOUT a debugger
Replies: 4
Views: 7971

Re: Perform xquery on an xml file … WITHOUT a debugger

Plus ... I have <oXygen/> XML Developer 20.0, build 2018031511 ... and the variables for the files selcted in the debugger do not seem to be available.

Are they first available in a newer version?
by mrwatson-de
Fri Apr 17, 2020 6:45 pm
Forum: XQuery
Topic: Perform xquery works in the XQuery builder but not in the Xquery debugger - "Content is not allowed in prolog"
Replies: 2
Views: 2472

Re: Perform xquery works in the XQuery builder but not in the Xquery debugger - "Content is not allowed in prolog"

Hello again Adrian, thanks very much for your answer. I did indeed manage to come to the same conclusions today, after I realised that the doc('') was referencing the xquery file rather than the xml file, and thus causing the xquery to be parsed and cause the error. I tried doc(base-uri(/)) ... but ...
by mrwatson-de
Fri Apr 17, 2020 6:33 pm
Forum: XQuery
Topic: Perform xquery on an xml file … WITHOUT a debugger
Replies: 4
Views: 7971

Re: Perform xquery on an xml file … WITHOUT a debugger

Thanks Adrian, yeah I battled with the Transformation Scenarios yesterday and couldn't find a suitable solution. I have hundreds of XMLs and hundreds of XQuery & XSLTs analysis-functions, and I can't (i.e. don't want to have to) create a scenario every time I want to do an analysis on some XML f...
by mrwatson-de
Thu Apr 16, 2020 1:08 pm
Forum: XQuery
Topic: Perform xquery works in the XQuery builder but not in the Xquery debugger - "Content is not allowed in prolog"
Replies: 2
Views: 2472

Perform xquery works in the XQuery builder but not in the Xquery debugger - "Content is not allowed in prolog"

I have an XQuery expression which works in the Query builder, but when I try to do the same in the XQuery debugger I get the error message "Content is not allowed in prolog" The XQuery is stored in a file "DDR_Text.lines_ListFileTOs.xquery" It seems to be expecting the XQuery to ...
by mrwatson-de
Thu Apr 16, 2020 12:57 pm
Forum: XQuery
Topic: Perform xquery on an xml file … WITHOUT a debugger
Replies: 4
Views: 7971

Perform xquery on an xml file … WITHOUT a debugger

I think I might be missing something in oXygen. I regularly create XML reports about a database (DDR reports about a FileMaker database) and wish to use oXygen to develop and then frequently apply xquery analyses of those reports. For example, I've developed an xquery expression to list all of the d...