Does Saxon xqj api support issuing insert queries? If No, Is there any academic article discussing this? and what alternative should be used? If Yes, is there any code example for doing so?

Any answer would be highly appreciated.

有帮助吗?

解决方案

XQJ isn't designed for updating queries, so support for them would always be implementation-dependent. In this thread from three years ago, Saxon's author Michael Kay wrote that he wouldn't want to do that, so it isn't likely that it's supported now.

If you're OK with using the Saxon-specific S9API (which supports updates), you need the non-free Saxon-EE version, as the others don't provide XQuery Update at all.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top