Hi everyone,
I've found myself in a circumstance where a good portion of our (older, migrated) records use a defined mods prefix (mods:mods), and are inline in fedora, while all records created via Islandora use a default namespace and are managed.
I'm trying to get the mods datastream indexed in solr and am finding that the slurp_all_mods and default foxmlToSolr files seem to grab the older records only (the ones with the mods: prefix, inline in fedora). I would suspect it's because of this part in slurp_all_mods:
<xsl:apply-templates mode="slurping_MODS" select="$content//mods:mods[1]">
<xsl:with-param name="prefix" select="$prefix"/>
<xsl:with-param name="suffix" select="$suffix"/>
<xsl:with-param name="pid" select="../../@PID"/>
<xsl:with-param name="datastream" select="../@ID"/>
</xsl:apply-templates>
I would guess that changing the path from "$content//mods:mods[1]" to "$content//mods:mods[1] | $content//mods/*" would fix the problem (caveat, still getting comfortable with xslts). But I'm somewhat confused because I imagine most other set ups have managed MODS datastreams and use a default namespace, and figured this configuration would work with most default set-ups. Any kind souls who might suggest if I'm looking in the right direction?
Thanks as always.
Kelsey