Hi Helix, sorry wont work, the header is well formated but the rest not. Looks like this now.
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="static/style.xsl"?><OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"><responseDate>2012-12-14T10:32:19Z</responseDate> <request identifier="oai:urntest:123456789/5" metadataPrefix="oai_dc" verb="GetRecord">http://urntest.hsta.int:8080/oai/request</request> <GetRecord> <record> <header> <identifier>oai:urntest:123456789/5</identifier> <datestamp>2012-12-13T10:15:18Z</datestamp> <setSpec>com_123456789_1</setSpec> <setSpec>col_123456789_2</setSpec> </header> <metadata> <oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:doc="http://www.lyncode.com/xoai" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd"> <dc:title>dfasfasf</dc:title> <dc:creator>Vorname, Nachname</dc:creator> <dc:description>Zusammengetragen und in Auftrag gegeben von der Äbtissin Katherina Nussperger, geschrieben von Hermann Sack (s.f.61v)</dc:description> <dc:description>Enthält: f.2-3v Geschichte des Klosters mit Beschreibung der Reformation des Klosters 1480 (dt.). f.4-5v: Notizen zur Geschichte des Klosters und anderen Ereignissen (lat.). f.6-11v: Angaben über Schenkungen. f.12-61v: Totenbuch. Mit vielen Namen der Klosterangehörigen.</dc:description> <dc:date>2012-12-13T09:14:01Z</dc:date> <dc:date>2012-12-13T09:14:01Z</dc:date> <dc:date>2012-12-13</dc:date> <dc:type>Book</dc:type> <dc:identifier>http://www.gda.bayern.de/findmittel/ead/index.php?fb=415</dc:identifier> <dc:identifier>http://hdl.handle.net/123456789/5</dc:identifier> <dc:identifier>urn:nbn:de:stab-6cbfa16d-a865-4dc3-bd31-e9d4f7c12e4f</dc:identifier> <dc:language>de</dc:language> </oai_dc:dc> </metadata> </record> </GetRecord> </OAI-PMH> Zitat von helix84 <[email protected]>: > On Fri, Dec 14, 2012 at 8:42 AM, <[email protected]> wrote: >> if i send a request to the OAI interface with my browser i get an XML >> back that have all lines on the left side without indentation. >> Can you tell me how i can create a output that is much better readable >> for humans? > > Hi Marco, > in [dspace]/config/crosswalks/oai/xoai.xml set the "identation" > attribute of "Configuration" to "true". > > > Regards, > ~~helix84 > > Compulsory reading: DSpace Mailing List Etiquette > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

