What is the syntax for &nbsp in XSLT?

I am working on xslt form and I need to create a space like a new line or a retune on my page but it doesn't like the normal html syntax of &nbsp and I was just wondering how would you do this in xslt?
Thanks in advance for all the help.
sabrina_spillaneAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gertone (Geert Bormans)Information ArchitectCommented:
Hi sabrina_spillane,

by putting the   in the document,
you are using an undefined entity

there are two options to solve this issue

1. make a definition for the entity, by adding a DOCTYPE and the ENTITY definition, like this

<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> ]>
<xsl:stylesheet xmlns="http://www.w3.org/1999/XSL/Transform"; version="1.0">

2. just use &#160; directly, instead of &nbsp;
if you use &#160; in an XML file, you enter the 160th character of unicode, which is the non breaking space


Cheers!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.