On Wed, Oct 3, 2012 at 7:18 PM, Jose Blanco <[email protected]> wrote: > BTW, I had already tried > identity.addItem().addContent(" "); > > and it did give me a line break, but also rendered ( literally ).
I see what the problem might be. The addContent() method is inherited from TextContainer, so that's probably why it's just text. Try to use startElement()/endElement()... http://www.jarvana.com/jarvana/view/org/dspace/dspace-xmlui-wing/1.8.1/dspace-xmlui-wing-1.8.1-javadoc.jar!/org/dspace/app/xmlui/wing/element/Item.html ...if you want to do it the Java way. Or try the xsl:output trick - the nice thing about XSL is that you don't need to recompile or even restart Tomcat. Regards, ~~helix84 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

