Is there a simple way of taking a namespace declaration such as declare namespace foo="http://foo/"; and a list of local names, such as ( bar, baz, ... ) and generating a list of the corresponding URIs, a la RDF, such as http://foo/bar http://foo/baz ... ? I can see a way of doing this without explicit namespaces, using simple string concatenation and an xs:anyURI constructor: let $namespace := concat( "http://foo/", ":" ) return xs:anyURI( concat( $namespace, "bar" )) but I'm wondering if it can be done using a namespace declaration, since that somehow seems more in keeping with the intent. (I can see a rather convoluted way of doing it using a computed element constructor and fn:namespace-uri(). I'm wondering tho if there's a more direct way of doing it without constructing an element first.) HowardReceived on Tuesday, 7 September 2004 21:24:11 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:20 GMT