Which of the following are valid XML element names?

a) yearBorn.
b) year.Born.
c) year Born.
d) year-Born1.
e) 2_year_born.
f) --year/born.
g) year*born.
h) .year_born.
i) _year_born_.
j) y_e-a_r-b_o-r_n.

a) yearBorn.
ANS: Valid.
b) year.Born.
ANS: Valid.
c) year Born.
ANS: Invalid.
d) year-Born1.
ANS: Valid.
e) 2_year_born.
ANS: Invalid.
f) --year/born.
ANS: Invalid.
g) year*born.
ANS: Invalid.
h) .year_born.
ANS: Invalid.
i) _year_born_.
ANS: Valid.
j) y_e-a_r-b_o-r_n.
ANS: Valid.

Computer Science & Information Technology

You might also like to view...

The seed of a linear congruential generator is

a. always zero b. occasionally zero, depending on other random events c. the initial value d. the multiplier e. the period of the generator

Computer Science & Information Technology

?The computational thinking tool of abstraction strives to eliminate all minor and insignificant details in order to focus on the fundamental aspects of the problem.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology