Sunday, August 10, 2008
Needs some space
If you are writing a jsp in xhtml you can't use normal xml entity references.
eg. &bsnp;
This is because you can't set entity declarations, like this.
<!--ENTITY nbsp " " -->]>
You will have to do this.
&nbsp;
Labels:
JavaScript
Subscribe to:
Post Comments (Atom)

Actually, I think you can use in XHTML
ReplyDeletesorry...that should read the entity notation for ampersand "& amp ;" plus nbsp;
ReplyDeleteI'm not sure you can with strict xhtml. Which is basically why I wrote this post.
ReplyDelete