Passing XQuery parameters into a MarkLogic datasource
Posted: Thu Jan 11, 2007 3:29 am
Using a transformation scenario with MarkLogic as the datasource, I'm trying to pass a parameter $id into my XQuery. The parameter is composed of numbers but should be treated as a string, and my XQuery has declared it as type xs:string:
When I pass in '0010000000' as my ID, I get:
Is there a way for me to type the parameter, or otherwise indicate that the value is a string and not an integer?
Code: Select all
define variable $id as xs:string external
$id
Code: Select all
100000000