Hello,


I have an existing set of documents with a specific namespace URI.  This set of 
documents has a set of range indexes.  I now need to support documents with a 
new version of the namespace URI.  I would like to use the same range index on 
both documents since they are for the most part the same.  Is there a way to 
create a range index using namespace wildcards other than '*'.  A simple 
example of what I am trying to do is listed below.



Previous Documents





<book:info xmlns:book="http://example.com/book/1.0";>

    <book:title>Old Book</book:title>

    <book:author>John Doe</book:author>

    <book:publisher>

        <pub:info 
xmlns:pub="http://example.com/<http://example.com/book/1.0>publisher">

            <pub:title>Joes Publishing</pub:title>

        </pub:info>

    <book:publisher>

</book:info>



New Documents



<book:info xmlns:book="http://example.com/book/2.0";>

    <book:title>New Book</book:title>

    <book:author>Jane Smith</book:author>

    <book:newInfo>Some New Info</book:newInfo>

    <book:publisher>

        <pub:info 
xmlns:pub="http://example.com/<http://example.com/book/1.0>publisher">

            <pub:title>Joes Publishing</pub:title>

        </pub:info>

    <book:publisher>

</book:info>





The current range index is built using.



admin:database-range-element-index("string", "http://example.com/book/1.0";, 
"title", "http://marklogic.com/collation/";, fn:false())



would like to use something like



admin:database-range-element-index("string", "http://example.com/book/*";, 
"title", "http://marklogic.com/collation/";, fn:false())


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

Reply via email to