[MarkLogic Dev General] How best to identify all referenced
contentmodels?
Danny Sokolsky
dsokolsky at marklogic.com
Thu Dec 18 10:12:00 PST 2008
Hi Brent,
Do you have the URI lexicon enabled for your database? It might help.
Also, do you have any range indexes on the element or attributes in
question? Then you can do range queries or lexicon lookups on those
values. I am not sure what you mean by your concern about DTDs and
namespaces. Perhaps if you gave a sample XML snippet or two showing
what the "public and system IDs" look like, that might help with a more
specific answer.
-Danny
From: general-bounces at developer.marklogic.com
[mailto:general-bounces at developer.marklogic.com] On Behalf Of Hartwig,
Brent (CL Tech Sv)
Sent: Thursday, December 18, 2008 9:48 AM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] How best to identify all referenced
contentmodels?
Hello and Happy Holidays,
I'm trying to identify the public and system IDs of all content models
our XML files reference. The XML files are in ML 3.2 and may conform to
a DTD or XML Schema. Given the number of XML files, I would prefer not
take the I/O hit for each file. I am also interested in the reverse:
URIs of XML files not defining the content model. I see many
namespace-related functions but am concerned this will not help the
majority of files conforming to DTDs. Any ideas? Thank you in advance.
-Brent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20081218/b4b92bd3/attachment.html
More information about the General
mailing list