Hi Marco,

that's strange, XOAI.xml indentation is applied to the final XML result. So
if the output coming from the XSL is indented or not doesn't matter.

Are you cleaning OAI cache? Is there any exception being thrown?


On 14 December 2012 12:34, <marco.we...@kesslernetworks.de> wrote:

> 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 <heli...@centrum.sk>:
>
> > On Fri, Dec 14, 2012 at 12:01 PM,  <marco.we...@kesslernetworks.de>
> 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
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Thanks, João Melo (My Portfolio <http://www.lyncode.com/m/jmelo/>)
DSpace Department
*Lyncode*: Official
website<http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2F&sa=D&sntz=1&usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ>
[image: Follow us on
Facebook]<http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncode&sa=D&sntz=1&usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q>
<http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncode&sa=D&sntz=1&usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww>
------------------------------------------------------------------------------
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to