Reputation: 1644
I am trying to transform a MARCXML file to MODS XML format, but have been having lots of problems.
Here is an example valid MARCXML file http://ebba.english.ucsb.edu/content/marcxml.html
I'm using a XSLT file from the organisation that created the format in the first place: http://www.loc.gov/standards/mods/mods-conversions.html
In particular this XSLT http://www.loc.gov/standards/mods/v3/MARC21slim2MODS3-6.xsl
When I put the two together the transformation fails.
I've tried several online transformation tools. One returns this error message:
Internal Server Error: <html><head><title>Error</title></head><body>Internal Server Error</body></html>
And on another site it actually does work as expected: http://www.online-toolz.com/tools/xslt-transformation.php
Why then can't I get the transformation to work in .Net or any of the other online tools? Is there something wrong with the syntax of the XML or XSLT?
Upvotes: 0
Views: 107
Reputation: 1644
This answer to a previous question solved my problem:
XslCompiledTransform.Transform" takes XmlReader as first Parameter and i was passing XmlDocument in First Paramenter
Upvotes: 0