A New Internet Library: Add Your Website/Blog or Suggest A Website/Blog to our Free Web Directory http://anil.myfunda.net.

Its very simple, free and SEO Friendly.
Submit Now....

Monday, March 31, 2008

Character Set used for HTML, XSLT, XML

Character Set used for HTML, XSLT, XML

Following is the table containing entities or characters used for referencing in HTML, XSLT, and XML as a complete reference. In HTML, you can use specific code references to display special characters. As example   is used to place a space in your text, in other words, a non-breaking space; and © is the equivalent of placing a copyright sign on the page, i.e., ©

However, in XSLT you are not allowed to use these types of characters, you need to use the ISO-8859-1 character set. So, instead of inserting   as a non breaking space, you'd insert   and instead of © you'd use ©

 

Character

Decimal code

(Used for XSLT,XML)

Named entity

(Reference for HTML)

Value

--

�

--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--

	

--

Horizontal tab

--




--

Line feed

--



--

Unused

--



--

Unused

--



--

Carriage Return

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

--



--

Unused

 

 

--

Space

!

!

--

Exclamation mark

"

"

"

Quotation mark

#

#

--

Number sign

$

$

--

Dollar sign

%

%

--

Percent sign

&

&

&

Ampersand

'

'

--

Apostrophe

(

(

--

Left parenthesis

)

)

--

Right parenthesis

*

*

--

Asterisk

+

+

--

Plus sign

,

,

--

Comma

-

-

--

Hyphen

.

.

--

Period (fullstop)

/

/

--

Solidus (slash)

0

0

--

Digit 0

1

1

--

Digit 1

2

2

--

Digit 2

3

3

--

Digit 3

4

4

--

Digit 4

5

5

--

Digit 5

6

6

--

Digit 6

7

7

--

Digit 7

8

8

--

Digit 8

9

9

--

Digit 9

:

:

--

Colon

;

&#59;

--

Semicolon

< 

&#60;

&lt;

Less than

=

&#61;

--

Equals sign

> 

&#62;

&gt;

Greater than

?

&#63;

--

Question mark

@

&#64;

--

Commercial at

A

&#65;

--

Capital A

B

&#66;

--

Capital B

C

&#67;

--

Capital C

D

&#68;

--

Capital D

E

&#69;

--

Capital E

F

&#70;

--

Capital F

G

&#71;

--

Capital G

H

&#72;

--

Capital H

I

&#73;

--

Capital I

J

&#74;

--

Capital J

K

&#75;

--

Capital K

L

&#76;

--

Capital L

M

&#77;

--

Capital M

N

&#78;

--

Capital N

O

&#79;

--

Capital O

P

&#80;

--

Capital P

Q

&#81;

--

Capital Q

R

&#82;

--

Capital R

S

&#83;

--

Capital S

T

&#84;

--

Capital T

U

&#85;

--

Capital U

V

&#86;

--

Capital V

W

&#87;

--

Capital W

X

&#88;

--

Capital X

Y

&#89;

--

Capital Y

Z

&#90;

--

Capital Z

[

&#91;

--

Left square bracket

\

&#92;

--

Reverse solidus (backslash)

]

&#93;

--

Right square bracket

^

&#94;

--

Caret

_

&#95;

--

Horizontal bar (underscore)

`

&#96;

--

Acute accent

a

&#97;

--

Small a

b

&#98;

--

Small b

c

&#99;

--

Small c

d

&#100;

--

Small d

e

&#101;

--

Small e

f

&#102;

--

Small f

g

&#103;

--

Small g

h

&#104;

--

Small h

i

&#105;

--

Small i

j

&#106;

--

Small j

k

&#107;

--

Small k

l

&#108;

--

Small l

m

&#109;

--

Small m

n

&#110;

--

Small n

o

&#111;

--

Small o

p

&#112;

--

Small p

q

&#113;

--

Small q

r

&#114;

--

Small r

s

&#115;

--

Small s

t

&#116;

--

Small t

u

&#117;

--

Small u

v

&#118;

--

Small v

w

&#119;

--

Small w

x

&#120;

--

Small x

y

&#121;

--

Small y

z

&#122;

--

Small z

{

&#123;

--

Left curly brace

|

&#124;

--

Vertical bar

}

&#125;

--

Right curly brace

~

&#126;

--

Tilde

--

&#127;

--

Unused

 

&#160;

&nbsp;

Nonbreaking space

¡

&#161;

&iexcl;

Inverted exclamation

¢

&#162;

&cent;

Cent sign

£

&#163;

&pound;

Pound sterling

¤

&#164;

&curren;

General currency sign

¥

&#165;

&yen;

Yen sign

¦

&#166;

&brvbar; or &brkbar;

Broken vertical bar

§

&#167;

&sect;

Section sign

¨

&#168;

&uml; or &die;

Diæresis / Umlaut

©

&#169;

&copy;

Copyright

ª

&#170;

&ordf;

Feminine ordinal

«

&#171;

&laquo;

Left angle quote, guillemet left

¬

&#172;

&not

Not sign

­

&#173;

&shy;

Soft hyphen

®

&#174;

&reg;

Registered trademark

¯

&#175;

&macr; or &hibar;

Macron accent

°

&#176;

&deg;

Degree sign

±

&#177;

&plusmn;

Plus or minus

²

&#178;

&sup2;

Superscript two

³

&#179;

&sup3;

Superscript three

´

&#180;

&acute;

Acute accent

µ

&#181;

&micro;

Micro sign

&#182;

&para;

Paragraph sign

·

&#183;

&middot;

Middle dot

¸

&#184;

&cedil;

Cedilla

¹

&#185;

&sup1;

Superscript one

º

&#186;

&ordm;

Masculine ordinal

»

&#187;

&raquo;

Right angle quote, guillemet right

¼

&#188;

&frac14;

Fraction one-fourth

½

&#189;

&frac12;

Fraction one-half

¾

&#190;

&frac34;

Fraction three-fourths

¿

&#191;

&iquest;

Inverted question mark

À

&#192;

&Agrave;

Capital A, grave accent

Á

&#193;

&Aacute;

Capital A, acute accent

Â

&#194;

&Acirc;

Capital A, circumflex

Ã

&#195;

&Atilde;

Capital A, tilde

Ä

&#196;

&Auml;

Capital A, diæresis / umlaut

Å

&#197;

&Aring;

Capital A, ring

Æ

&#198;

&AElig;

Capital AE ligature

Ç

&#199;

&Ccedil;

Capital C, cedilla

È

&#200;

&Egrave;

Capital E, grave accent

É

&#201;

&Eacute;

Capital E, acute accent

Ê

&#202;

&Ecirc;

Capital E, circumflex

Ë

&#203;

&Euml;

Capital E, diæresis / umlaut

Ì

&#204;

&Igrave;

Capital I, grave accent

Í

&#205;

&Iacute;

Capital I, acute accent

Î

&#206;

&Icirc;

Capital I, circumflex

Ï

&#207;

&Iuml;

Capital I, diæresis / umlaut

Ð

&#208;

&ETH;

Capital Eth, Icelandic

Ñ

&#209;

&Ntilde;

Capital N, tilde

Ò

&#210;

&Ograve;

Capital O, grave accent

Ó

&#211;

&Oacute;

Capital O, acute accent

Ô

&#212;

&Ocirc;

Capital O, circumflex

Õ

&#213;

&Otilde;

Capital O, tilde

Ö

&#214;

&Ouml;

Capital O, diæresis / umlaut

×

&#215;

&times;

Multiply sign

Ø

&#216;

&Oslash;

Capital O, slash

Ù

&#217;

&Ugrave;

Capital U, grave accent

Ú

&#218;

&Uacute;

Capital U, acute accent

Û

&#219;

&Ucirc;

Capital U, circumflex

Ü

&#220;

&Uuml;

Capital U, diæresis / umlaut

Ý

&#221;

&Yacute;

Capital Y, acute accent

Þ

&#222;

&THORN;

Capital Thorn, Icelandic

ß

&#223;

&szlig;

Small sharp s, German sz

à

&#224;

&agrave;

Small a, grave accent

á

&#225;

&aacute;

Small a, acute accent

â

&#226;

&acirc;

Small a, circumflex

ã

&#227;

&atilde;

Small a, tilde

ä

&#228;

&auml;

Small a, diæresis / umlaut

å

&#229;

&aring;

Small a, ring

æ

&#230;

&aelig;

Small ae ligature

ç

&#231;

&ccedil;

Small c, cedilla

è

&#232;

&egrave;

Small e, grave accent

é

&#233;

&eacute;

Small e, acute accent

ê

&#234;

&ecirc;

Small e, circumflex

ë

&#235;

&euml;

Small e, diæresis / umlaut

ì

&#236;

&igrave;

Small i, grave accent

í

&#237;

&iacute;

Small i, acute accent

î

&#238;

&icirc;

Small i, circumflex

ï

&#239;

&iuml;

Small i, diæresis / umlaut

ð

&#240;

&eth;

Small eth, Icelandic

ñ

&#241;

&ntilde;

Small n, tilde

ò

&#242;

&ograve;

Small o, grave accent

ó

&#243;

&oacute;

Small o, acute accent

ô

&#244;

&ocirc;

Small o, circumflex

õ

&#245;

&otilde;

Small o, tilde

ö

&#246;

&ouml;

Small o, diæresis / umlaut

÷

&#247;

&divide;

Division sign

ø

&#248;

&oslash;

Small o, slash

ù

&#249;

&ugrave;

Small u, grave accent

ú

&#250;

&uacute;

Small u, acute accent

û

&#251;

&ucirc;

Small u, circumflex

ü

&#252;

&uuml;

Small u, diæresis / umlaut

ý

&#253;

&yacute;

Small y, acute accent

þ

&#254;

&thorn;

Small thorn, Icelandic

ÿ

&#255;

&yuml;

Small y, diæresis / umlaut

 

for Inserting copy write © (© ) through XSLT

for Inserting White Space (&nbsp; ) through XSLT use &#169;

Inserting White Space (  ) through XSLT

for Inserting White Space (&nbsp; ) through XSLT use &#160;

Wednesday, March 26, 2008

Conditional debugging in Visual Studio .NET

Whenever you have a piece of code that runs more than once, it can create a problem for debugging. Suppose, for example, that you have a loop that works for 100 iterations, but then fails for some reason. (This could easily happen if you were processing elements in a large array, for example.) Setting an ordinary breakpoint wouldn't help much, since the breakpoint would be hit every single time through the loop.

Visual Studio lets you set breakpoints conditionally, however, so the program will only stop if a particular condition is met. To give a breakpoint a condition, set the breakpoint normally, then right-click and select "Breakpoint Properties."



Breakpoint Properties

You can make a breakpoint conditional in several ways:
  • You can tell the breakpoint to trigger only after it has been hit n times. This is the "Hit Count" method. Note that this is a count of how many times the breakpoint itself is encountered, so if the breakpoint is inside an 'if' statement, the "Hit Count" may or may not match the number of iterations of the loop.

    You can also tell the program to stop when the hit count is anything above n, or even if it's a multiple of n (so you can check on a loop's progress every 500 iterations, for example.

    Click the "Hit Count" button on the Breakpoint Properties window to change these settings.

    reakpoint: Hit Count

  • You can tell the breakpoint to stop the program only if some (arbitrary) condition is met. You might do this if there's a particular scenario you're interested in studying (for example, you might want to observe all situations in a loop where some variable is negative).

    From the Breakpoint Properties window, click the "Condition" button and set whatever condition you want:


    Se a Condition

  • If you're interested in stopping whenever some variable (or expression) has changed, you can set a conditional breakpoint in a different way. In the "Breakpoint Condition" window, there are two choices marked "is true" and "has changed." We used the first when we wanted to stop the program only under certain circumstances. The second can be used to monitor a variable.

    If you entered 'someVar' in the "Condition" field, and checked "hasChanged," then the breakpoint would only stop on iterations where the value of 'someVar' is different from when it was last seen. Although conditional breakpoints are most often useful inside loops, there's no reason they must be used inside a loop. This is just one more tool you have available; it may be handy in any number of situations.

Friday, March 7, 2008

Hurry !! Offer from Microsoft Learning

Here is an opportunity from Microsoft to see the first look of Microsoft VS 2008, SQL Server 2008 and Windows Server 2008, I am sure you might be interested in attending these sessions. The good thing is that date falls on weekends J

 

http://www.heroeshappenhere.co.in/FirstLookClinic.aspx


Monday, February 25, 2008

Problem with Submitting a Form with the Enter Key and a Button Web Control's Click Event

If your site has a Web Form with a single TextBox Web control your user's visiting with Internet Explorer won't be able to have the appropriate action be completed upon hitting enter in the textbox. That is, they'll hit Enter and the form will postback, but whatever custom logic you had written in the Button's Click event handler won't run, thereby making it seem to the user that nothing happened.

To overcome this problem you can use the following workaround - simply add another TextBox Web control to the Web Form. This will cause Internet Explorer to send back the Button Web control's name/value pair upon hitting Enter. Of course, you don't want the user to see two TextBoxes, so use a bit of CSS to hide the second one. That is, instead of using this:

<form runat="server">    Name: <asp:TextBox runat="server" id="txtName" ... />    <br />    <asp:Button runat="server" Text="Click Me!" ... /> </form>         

Add an additional TextBox Web control to overcome the Enter problem in IE, but hide the TextBox so your users see only one:

<form runat="server">    Name: <asp:TextBox runat="server" id="txtName" ... />    <br />    <asp:TextBox runat="server" style="visibility:hidden;display:none;" />    <asp:Button runat="server" Text="Click Me!" ... /> </form>         

That's all there is to it!

Dotnet-Interviews