BTW, I had already tried
identity.addItem().addContent(" ");

and it did give me a line break, but also rendered   ( literally ).

-Jose

On Wed, Oct 3, 2012 at 12:23 PM, helix84 <[email protected]> wrote:

> On Fri, Sep 28, 2012 at 7:06 PM, Jose Blanco <[email protected]> wrote:
> > I would like to add a line break like this:
> >        identity.addItem().addContent("  ");
>
> I'd go with Tim on this one but I don't know what your use for this
> is. So if you need to take this route, you may want to try
>        identity.addItem().addContent("&nbsp;");
>
> That means that the tag content won't be empty and the XSLT processor
> won't be allowed to replace it with a self-closing tag (e.g. <li>
> </li/> could be replaced by <li/>, but <li>&nbsp;</li> couldn't).
>
> 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
>
------------------------------------------------------------------------------
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

Reply via email to