(: Name: internalcontextitem-6 :)
(: Description: context item expression where context item is a double. :)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

(1,2,3)[xs:double(.)]