Mark's suggestion is working nicely, but I still have one (final?) problem. I can't figure out how to make Saxoutputter generate a DocType declaration. I use JDOM to add the DocType to my document, but Saxoutputter ignores it. It's hard to tell from http://www.jdom.org/docs/apidocs/org/jdom/output/SAXOutputter.html whether DTDHandler will provide this or whether it's even supported by Saxoutputter. It looks like it might be possible to set it using
I've copied alot from OREGenerator; mine still extends AbstractGenerator.
I may be able to set it in my XSLT, but I'd rather use the DOM or transformer if possible.
Biomedical Librarian, Digital Projects
A.R. Dykes Library, University of Kansas Medical Center
>>> On 9/21/2011 at 01:49 AM, in message <CAMA9Da6i21cXg55Eri5TwuqDB8Z9eLP8tAj4_7bgMSGOSg1APg@mail.gmail.com>, Mark Diggory <email@example.com> wrote:
Ok, in this case you don't need a packager, what you need is a Cocoon
Generator that renders the Crosswalk to the browser.
Take a look at the OREGenerator...
It will show how to generate the crosswalk into Cocoon. You'll find
the Cocoons configuration for the ore.xml generator in the default
On Tue, Sep 20, 2011 at 2:35 PM, Jason Stirnaman <firstname.lastname@example.org> wrote:
> Here's the follow-up to my previous question.
> I have a crude (but useable) XSLT crosswalk ("nlm") in DSpace. It transforms
> DIM metadata to fit the NLM Journal Publishing profile. I can test the
> output successfully with OAI-PMH.
> As it turns out, I don't really need to export bitstreams. I just need the
> metadata for a set of items within a collection that would be specified by
> the end-user/Community Owner. So, if I want just the crosswalk output for
> that set of items and I don't want the OAI protocol wrapper or the
> bitstreams, then do I still need a custom packager for that as in Mark's
> IMSCP example? I expect the answer is yes.
> I think what 'm really wanting is to be able to call the crosswalk as a
> method on the collection, in a RESTful way, and return the output as a
> single XML document for the collection containing each of the transformed
> Conjured example: handle/2271/883/nlm.xml or nlm/handle/2271/883
> Jason Stirnaman
> Biomedical Librarian, Digital Projects
> A.R. Dykes Library, University of Kansas Medical Center
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> DSpace-tech mailing list
Mark Diggory @mire Inc.
2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010
Esperantolaan 4, Heverlee 3001, Belgium