All,
Newbee question:
I am to the place I could use App Builder for this problem or write a
custom xquery app for this but I have an I don't know how to deal with
in either case:
For .xml files that are not the simple case ( i.e. unique element name
in each file), but have _repeated _element names, for example
"commonName", all through each file but of course are in different
context i.e. have different parents etc...
e.g. :
/<automobiles>
<components>
<engines>
<nomenclature>
*<commonName>wankle</commonName>*
</nomenclature>
</engines>
</components>/
.
.
.
/<components>
<hubcaps>
<nomenclature>
*<commonName>spinners</commonName>*
</nomenclature>
</hubcaps>
</components>
</automobiles>/
When setting up Element Range Indexes of course I can set up a string
with name "commonName" but the database (using App Builder) picks up
*all *cases in *all *contexts. How can I tell MarkLogic to pick up this
one that has to do with "engines" to create a facet, and leave out the
other(s)?:
/<automobiles>
<components>
<engines>
<nomenclature>
*<commonName>wankle</commonName>*/
Is there a way to put in the Xpath, in the Element Range window some
how, to the one I need for the facet and ignore the other(s)? I have
tried different things but no success yet.
regards,
Randy
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general