Search found 6 matches

by SteffenWeitsch
Tue Feb 19, 2019 12:44 pm
Forum: XQuery
Topic: get date from week number
Replies: 1
Views: 2554

get date from week number

Hello, is there any possibility to get first and last day of a week number in XQuery ? As input I have date formatted CCYYWW and want to get CCYYMMDD - CCYYMMDD I also thought about option to implement java calendar but I failed in using java. Calendar cal = Calendar.getInstance(); cal.set(Calendar....
by SteffenWeitsch
Mon Oct 16, 2017 4:19 pm
Forum: XQuery
Topic: problem with editor variables in scenario
Replies: 5
Views: 6181

Re: problem with editor variables in scenario

Hello,

I tried your suggestion and this is working. I tried it with 19.1 as well as 19.0 and both versions are working.

Regards
Steffen
by SteffenWeitsch
Mon Oct 16, 2017 11:39 am
Forum: XQuery
Topic: problem with editor variables in scenario
Replies: 5
Views: 6181

Re: problem with editor variables in scenario

Hello,

I tried your suggestion but this is not working, so I wrote mail to support.


Regards
Steffen
by SteffenWeitsch
Fri Oct 13, 2017 6:13 pm
Forum: XQuery
Topic: problem with editor variables in scenario
Replies: 5
Views: 6181

problem with editor variables in scenario

Hello, in OxygenXML version 19.0 I configured a xquery transformation scenario with parameter $document. Its value is marked as "Evaluate as XPath" and value is doc('${currentFileURL}')/* When I update my OxygenXML to version 19.1 I get with same scenario an error message. Engine name: Sax...
by SteffenWeitsch
Thu Oct 01, 2015 12:13 pm
Forum: XQuery
Topic: Xquery transformation scenario
Replies: 3
Views: 5464

Re: Xquery transformation scenario

Hello,

that worked fine, thanks.

One more question - is it also possible to use some xquery functions ?

eg. tokenize(/path/to/my/node[qualifier = 'X'][part = '1']/value/text(), '\|')[1]


Regards
Steffen
by SteffenWeitsch
Wed Sep 30, 2015 5:29 pm
Forum: XQuery
Topic: Xquery transformation scenario
Replies: 3
Views: 5464

Xquery transformation scenario

Hello,

I want to setup a transformation scenario with xquery.

Filename of generated output file should be dynamic generated by values extracted from actual transformed file.

Can anyone help to configure this ?

Regards
Steffen