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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code for non-breaking space...

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi all,
I need to generate the   caracter via a stylesheet. What is the code for that one?
For example, @ is ©
thx
david
 
dam'....I do it again.:) I need to generate the non-breaking space caracter & nbsp;....how could I it using a XSL stylesheet. I would need a special code for it...what is it?
 
You could do one of two things.

1.
Place this at the top of your style sheet:

<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp &quot;&#160;&quot;>
]>

(This creates a new entity in the XSL document, so that the XSL engine recognizes &nbsp;

2.
Or replace &nbsp; with &#160; throughout the style sheet.
 
let me try again.

You could do one of two things.

1.
Place this at the top of your style sheet:
Code:
    <!DOCTYPE xsl:stylesheet [
     <!ENTITY nbsp &quot;&#160;&quot;>
    ]>
(This creates a new entity in the XSL document, so that the XSL engine recognizes a non-breaking space.

2.
Or replace the
Code:
&nbsp;
with
Code:
&#160;
throughout the style sheet.



 
let me try again!!

You could do one of two things.

1.
Place this at the top of your style sheet:
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp &quot;&#160;&quot;>
]>

(This creates a new entity in the XSL document, so that the XSL engine recognizes &nbsp.)

2.
Or replace &nbsp; with &#160; throughout the style sheet.
 
This is stupid I can't use or not use the TGML!!!

right ampersand means shift+7 for the AND sign.
poundsign means the pound sign or hash sign or shift+2 in USA or the key closest to the return key on a UK keyboard.!!!!

You could do one of two things.

1.
Place this at the top of your style sheet:
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp &quot;ampersandpoundsign160;&quot;>
]>

(This creates a new entity in the XSL document, so that the XSL engine recognizes the non-braking space.)

2.
Or replace the nbsp with ampersandpoundsign160; throughout the style sheet.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top