I got another installment from my online XML course. This week we are learning about attributes. They describe the elements. You could say that they provide more information on elements. Attributes are as important as tags. HTML also has attributes. Many HTML attributes deal with margins.
The XML attribute is like an adjective that modifies the element. The syntax is of the format attribute=value. There are several attribute types as follows.
CDATA attributes are character data.
Entity attributes refer to an external item in the XML document.
Enumeration attributes are, as the name implies, a list of values.
Nmtoken attributes are like CDATA, but with more restrictions.
There are also notation attributes. However I have not used them before. Attributes in general are a building block of the XML language. I would consider them second only to elements. You have some choice as to make items elements or attributes. I recall in my formal XML course the instructor went over some guidance on this. Too bad I cannot ask questions in my latest online XML course. This would make for a good discussion.
Reproducing a Race Condition
-
We have a job at work that runs every Wednesday night. All of a sudden, it
aborted the last 2 weeks. This caused some critical data to be late. The
main ...