Hi, ok that explain it to me why it works with true ;) If you put indent="true" it's like you did set nothing because its wrong Now after deleting indent="true" from my xsl and setting identation="true" in xoai.xml it works
Doing the same in oai_dc.xsl, deleting indent="yes" it, works there too! Setting indent="no" in oai_dc.xsl gives you furthermore a well formatted XML so the xoai.xml overwrites the setting, or? Setting indent="yes" in oai_dc.xsl gives you bad formatted XML and thats strange because if xoai.xml overwrites the xsl setting i'll expect a well formatted XML. Setting indent="yes in oai_dc.xsl an deleteing identation="true" in xoai.xml gives you a bad formatted XML. So my knowledge in XML is too insufficient to work out what is wrong. For me it works with that solution above. The question is, should i open a bug report for that for dspace? Best regards Marco Zitat von helix84 <[email protected]>: > On Fri, Dec 14, 2012 at 12:01 PM, <[email protected]> wrote: >> ok possibly i have a solution. I changed the indent from yes to true see >> following line in my xsl and now i get well formated XML. > > That's strange. > > http://www.w3.org/XML/2000/04schema-hacking/xslt.xsd > > <attribute name="indent" type="xsl:yesno"/> > > <simpleType name="yesno" base="NMTOKEN"> > <enumeration value="yes"/> > <enumeration value="no"/> > </simpleType> > > > 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

