Print

Print


On Aug 19, 2004, at 10:30 AM, Donald Mennerich wrote:

> E Namespace prefix marc has not been declared       
>  MODS2MARC21slim.xsl        file:/C:/xml/mods/MODS2MARC21slim.xsl

It means your stylesheet needs a decalration for the marc namespace.  
It should look like xmlns:marc="http://www.example.com"

Here's an example with MODS declared.

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:db="http://docbook.org/docbook-ng"
xmlns:mods="http://www.loc.gov/mods/v3"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="mods">

Bruce