Skip to content

Commit 670cad9

Browse files
committed
adding files
1 parent 36c3338 commit 670cad9

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
declare namespace test='http://marklogic.com/test';
2+
declare variable $test:myString as xs:string external;
3+
declare variable $myXmlNode as xs:string external;
4+
(:declare variable $myJsonNode as xs:string external;:)
5+
declare variable $myBool as xs:boolean external;
6+
declare variable $myInteger as xs:integer external;
7+
declare variable $myDecimal as xs:decimal external;
8+
declare variable $myDouble as xs:double external;
9+
declare variable $myFloat as xs:float external;
10+
declare variable $myNull external;
11+
12+
(
13+
$test:myString,
14+
$myBool,
15+
document{ xdmp:unquote($myXmlNode) },
16+
xdmp:unquote($myXmlNode)//comment(),
17+
xdmp:unquote($myXmlNode)//text(),
18+
xdmp:unquote($myXmlNode)//*,
19+
xdmp:unquote($myXmlNode)/@attr,
20+
xdmp:unquote($myXmlNode)//processing-instruction(),
21+
(:$myNull,
22+
xdmp:unquote($myJsonNode)/a,
23+
xdmp:unquote($myJsonNode)/b,
24+
xdmp:unquote($myJsonNode)/c1,
25+
xdmp:unquote($myJsonNode)/d,
26+
xdmp:unquote($myJsonNode)/f,
27+
xdmp:unquote($myJsonNode)/g, :)
28+
$myInteger,
29+
$myDecimal,
30+
$myDouble,
31+
$myFloat
32+
)

0 commit comments

Comments
 (0)