Hi Isidro,
Dear all,
I am trying to dynamically create an element using computed namespaces constructor and always I got the error [XPST0003] Expecting "}", found "m".
I am trying this example
let $nsURI := "http://example.org/metric-system",
$attrname := "metric:unit",
$attrvalue := "meter"
return
element {"altitude"} {
namespace metric {$nsURI},
attribute {$attrname} {$attrvalue},
"10000"
}
(from http://www.xml.com/pub/a/2003/09/10/xquery.html)
My question is is namespaces constructor supported?
Thanks in advance
Isidro
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 110411-0, 11-04-2011
Tested on: 11-04-2011 13:32:58
avast! - copyright (c) 1988-2011 AVAST Software.
http://www.avast.com
_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk