From: SUZUKI K. <zuk...@gm...> - 2007-07-30 05:41:05
|
Hi Chris, I was experience too, > However, when I remove the namespace, it will work. This xml file > works: I deleted namespace from <record> element editing import/import-solr.php with line 77 file_put_contents($configArray['Data']['src'] . '/' . $id . '.xml', $record); changes to the bellow. $record2 = str_replace('<record xmlns="http://www.loc.gov/MARC21/slim">', '<record>', record); file_put_contents($configArray['Data']['src'] . '/' . $id . '.xml', $record2); > Here is line 149 of record-html.xsl: > > <xsl:for-each select="//datafield[@tag=650]"> > <xsl:param name="DFIELD" select="." /> > <xsl:for-each select="subfield"> > <xsl:param name="POS" select="position() + 1" /> Change "<xsl:param" to "<xsl.variable". Hope this help you. Keiji Suzuki Ebetsu, Japan |