Saturday, July 14, 2012

osb sample xquery

Since I always need an XQuery skeleton and I am too lazy to run Eclipse, here is one:

xquery version "1.0" encoding "Cp1252";
(:: pragma  parameter="$anyType1" type="xs:anyType" ::)
(:: pragma  type="xs:anyType" ::)

declare namespace xf = "";

declare function xf:Sample($anyType1 as element(*))
    as element(*) {

declare variable $anyType1 as element(*) external;


No comments: