Search found 6 matches

by cmcenearney
Wed Jul 11, 2012 7:00 pm
Forum: XQuery
Topic: xquery options for handling / persisting DTD declarations?
Replies: 2
Views: 5593

Re: xquery options for handling / persisting DTD declarations?

Thanks very much for the explanation! The task I'm looking at right now involves a long list of unique updates so I don't think oxygen's search/replace can be used this way, ie scripted. Using bash/perl/python etc is what will happen, but it would be nice not to treat the xml like text... Thanks aga...
by cmcenearney
Tue Jul 10, 2012 11:10 pm
Forum: XQuery
Topic: xquery options for handling / persisting DTD declarations?
Replies: 2
Views: 5593

xquery options for handling / persisting DTD declarations?

Hi, I'd like to be able to update documents with xquery update and maintain the DTD declaration. The DTD declaration (including entities, etc) gets stripped when I apply an update and I notice that this happens even when reading it into a variable and returning it, ie fn:doc('my_DTD_disappears.xml')...
by cmcenearney
Thu Apr 19, 2012 9:48 pm
Forum: Common Problems
Topic: Marklogic connection
Replies: 1
Views: 1697

Marklogic connection

Hi, Just wondering if anyone can help with this. I am trying to set up a Marklogic data source using these docs http://www.oxygenxml.com/doc/ug-oxygen/tasks/configure-marklogic-datasource.html http://www.oxygenxml.com/MarkLogic_support.html They explain that you need xcc.jar, xdbc.jar. and xdmp.jar ...
by cmcenearney
Thu Mar 22, 2012 6:53 pm
Forum: XQuery
Topic: XQuery Update
Replies: 8
Views: 13977

Re: XQuery Update

Hi,

Just wanted to say I had this problem as well and solved as a result of this post.

Thanks!

It was really driving me nuts as I had update queries which previously worked and couldn't figure this out.

Colin
by cmcenearney
Mon Dec 05, 2011 6:53 pm
Forum: XQuery
Topic: xquery math: functions in oxygen editor
Replies: 3
Views: 7894

Re: xquery math: functions in oxygen editor

Thanks! I was hoping to use math:pow, so that's too bad, but great to know about this resource. And I guess creating a function for this is good for my brain anyway. declare function local:exponentiate ($base as xs:double?, $power as xs:double?) as xs:double? { if ($power gt 1) then $base * (local:e...
by cmcenearney
Thu Dec 01, 2011 7:09 pm
Forum: XQuery
Topic: xquery math: functions in oxygen editor
Replies: 3
Views: 7894

xquery math: functions in oxygen editor

Hi,
Does anyone know how to use math: functions in Editor?

I've got Saxon-EE checked, along with "Enable Xquery 1.1 support" but no luck.

Running XML Editor 12.2, build 2011053115

Many thanks,
Colin