Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you do a   in XML

Status
Not open for further replies.

ad2

Technical User
Dec 31, 2002
186
US
Hi,

Sorry for what is a basic question, I'm just a beginner.

How do you do a non-breaking space in XML? Here is what I have, which is working to put spaces in the address, but seems like I should be able to put &nbsp; as needed, instead of the <xsl:text> tags.

<xsl:value-of select=&quot;Address&quot;/><br/>
<xsl:value-of select=&quot;City&quot;/><xsl:text>, </xsl:text>
<xsl:value-of select=&quot;State&quot;/><xsl:text> </xsl:text>
<xsl:value-of select=&quot;Zip&quot;/><br/>
 
Hi ad2, check out the Tek-Tips Keyword Search feature.

Here i found this past thread: thread426-74075

-pete
 
Actually I tried using the numeric code &#160; instead of &nbsp;and it worked just fine.

Thanks
 
That is the Amp sign Pound sign 160;
Forgot that if I typed the code in the above post, it would not show up, but create a space!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top