Hi,

I'm still developing a DOIIdentifierProvider to mint DOIs with DSpace. DataCite 
expects some metadata before a DOI can be registered. They want them to be send 
as XML regarding their schema (http://schema.datacite.org). To do so I'm 
looking for an easy and configurable way to transform the metadata of an item 
into the described form. The first idea I had was to use a 
DisseminationCrosswalk, and as I want XML as output I thought an 
XSLTDisseminationCrosswalk should be the obvious way. First of all I would like 
to know if a XSLTDisseminationCrosswalk is the way you would solve this or if 
someone can help me out with a better solution? If XSLTDisseminationCrosswalk 
is a good solution, can anybody please help me with it?

I read everything I found in the wiki about the XSLTDisseminationCrosswalk. To 
configure it I have to write a XSLT file. I assume the XML document I want to 
transform is in DSpace Intermediate Format as described on 
https://wiki.duraspace.org/display/DSPACE/DSpaceIntermediateMetadata. Is this 
correct?

On https://wiki.duraspace.org/display/DSPACE/XsltCrosswalk I found the hint to 
configure my XSLTDisseminationCrosswalk as OAI-PMH output format to test it. 
The OAI-PMH implementation changed with DSpace 3.0. Can I (still?) use the same 
XSLT file as format for the new OAI-PMH impelementation and for a XSLT 
Crosswalk?

If I have configured a XSLTDisseminationCrosswalk correctly how do I use it? Is 
it really as easy as the following code?

XSLTDisseminationCrosswalk xwalk = (XSLTDisseminationCrosswalk)
    PluginManager.getNamedPlugin(XSLTDisseminationCrosswalk.class, "DataCite");
if (xwalk.canDisseminate(dso)) {
    try {
        Element root = xwalk.disseminateElement(dso);
        ...
    } catch (Exception ex) {
        ...
    }
} else {
    ....
}

Many thanks!
  Pascal
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to