Using the Saxon Processor

By default, the XQuery code generated by Stylus Studio is compliant with both the built-in and DataDirect XQuery processors. If you want to use the Saxon XQuery processor, you need to

  • Comment the DataDirect namespace and function bindings:

declare namespace ws = 
"ddtekjava:com.stylusstudio.webservice.SOAPCall";
               
declare function ws:call($location as element(), $payload as 
element()) as document-node() external;
               

            

  • Uncomment the Saxon function binding:

declare namespace ws = "java:com.stylusstudio.webservice.SOAPCall";
               

            

Function bindings for both processor types are preceded with a string that identifies them, similar to this one for Saxon:

(: Saxon function binding :)
               

            

Do not uncomment these strings.

 
Free Stylus Studio XML Training:
W3C Member