Hour 7. Data Typing in XML
The previous hour introduced the attribute list, which allows you to include additional criteria about a node. Your next step is to provide additional qualifiers that can be used on the data. A qualifier specifies a type that the data component must conform to.
The second major topic of this lesson is the parseError object, which contains easily accessible information concerning the reasons for and location of the last error that was generated. This object is an enormous aid in debugging your code.
In this hour, you'll learn the following:
Data typing and the different data types supported by the dt namespace
Using assignments to change the data type of an active node
The parseError object and its role in error handling ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access