[Metadatalibrarians] Metadatalibrarians Digest, Vol 50, Issue 22
Dana Pearson
dbpearsonmlis at gmail.com
Tue Aug 26 11:04:23 PDT 2008
Using the example at:
http://www.loc.gov/standards/mods//v3/mods-userguide-examples.html
I could validate the result of your transform (after removing the oai
stuff).
See attached file.
regards, dana
> Thanks for all the help. I moved the namespaces up to the top and put
> prefixes on everything and changed the root element to
> <modsCollection>. That seems to have taken care of the blank
> namespaces. But it still won't validate. The error i get from the
> validator is: Can not find declaration of element <mods:modsCollection'.
> I tried taking the "mods" off the front, and i tried labeling it oai
> instead. I went to the DLF Aquifer stylesheet that shows
> <modsCollection xsi:schemaLocation="http://www.loc.gov/mods/v3
> http://www.loc.gov/standards/mods/v3/mods-3-2.xsd"> and tried putting
> it like that.
> But that just generated an error message in the transform, as it also
> did when i put it up at the top of the document.
> I also tried changing modsCollection back to OAI-PMH but it didn't
> like that either.
> So to what schema does modsCollection belong?
> I put the corrected stylesheet here:
> http://www.stanford.edu/~gdegroat/TestXSLFileLatest.xsl<http://www.stanford.edu/%7Egdegroat/TestXSLFileLatest.xsl>
> and the file i'm trying to transform is here
> http://www.stanford.edu/~gdegroat/PPSPosters82208Edited.xml<http://www.stanford.edu/%7Egdegroat/PPSPosters82208Edited.xml>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testMODS.xml
Type: text/xml
Size: 2315 bytes
Desc: not available
URL: <http://lists.monarchos.com/pipermail/metadatalibrarians-monarchos.com/attachments/20080826/29582371/attachment.bin>
More information about the Metadatalibrarians
mailing list