How to set an XQuery parameter in a transformation scenario?
Posted: Wed Feb 28, 2007 8:50 pm
I'm trying to set a parameter in an XQuery transformation scenario. My XQuery looks like
...
declare default function namespace "http://xml.mileywatts.com/ns/2007/iso20 ... orm/xquery";
...
declare variable $PathToSchema external;
...
and in the transformation scenario I create a parameter called "PathtoSchema". When I try to run the scenario, I get the error
----
Description: No value supplied for required parameter $PathToSchema
----
Is there any obvious reason why this wouldn't work? Could it be some kind of namespace issue (I'm new to XQuery). I'm using oXygen 8.1 Enterprise. Thanks,
Cheers, Tony.
...
declare default function namespace "http://xml.mileywatts.com/ns/2007/iso20 ... orm/xquery";
...
declare variable $PathToSchema external;
...
and in the transformation scenario I create a parameter called "PathtoSchema". When I try to run the scenario, I get the error
----
Description: No value supplied for required parameter $PathToSchema
----
Is there any obvious reason why this wouldn't work? Could it be some kind of namespace issue (I'm new to XQuery). I'm using oXygen 8.1 Enterprise. Thanks,
Cheers, Tony.