|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] declaring a variable of an imported schema typeNuno Lopes nuno.lopes at deri.orgThu Jan 14 17:29:34 PST 2010
Hello all,
I'm trying to declare a variable to be of a type that is imported from an XML schema definition.
So far what I've been doing is something like:
let $var := validate { element {$type} { $value } } ...
and it works although is a bit cumbersome.
Is there an easier way to do this, ie, without using the validate {} ?
Thanks,
--
Nuno Lopes
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






