"No namespace" doesn't mean "any namespace". It means a specific namespace, 
designated by an empty string. There is no way to specify a single range index 
in "any namespace" or in multiple namespaces, but you can create as many range 
indexes as you like.

I can't speak to App Builder, but most low-level lexicon and query constructors 
take sequences of QNames. So, for example:

  declare namespace v1="foo/version/1";
  declare namespace v2="foo/version/2";
  declare namespace v3="foo/version/3";

  cts:element-values(
    (xs:QName('v1:title'),
     xs:QName('v2:title'),
     xs:QName('v3:title')) (), $options, $query)

-- Mike

On 23 Sep 2011, at 11:51 , Robert Nam wrote:

> Summary:
> We are storing content that has different versions of the same 
> namespace/standard.
> EX:
> Document 1:  xmlns:foo=”http://xml-standard.com/1.0”
> Document 2:  xmlns:foo= “http://xml-standard.com/revised/2.5”
> It is desired to use faceted navigation for an element within two separate 
> namespaces. The next revision of the namespace/standard will add a third 
> index to the faceted navigation, and so on.
>  
> Description:
> The MarkLogic “Application Builder” wizard creates a site that uses faceted 
> navigation.  The facets are created by searches that are constrained by a 
> range index.  Is it possible to create a facet (perform a search) based on 
> two or more range indexes?  The desired result is to have one set of results 
> based on an element from multiple namespaces.  We tried to use a single 
> “generic universal index (no namespace in the index) “ but the facets would 
> return zero results.
> 
> 
> -Robert
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to