Q&A

Q1:How do you make more than one comment node in an XML file?
A1: Each separate comment is a node, so all you have to do is make more than one comment.
Q2: The parseError object is part of which node type in the XML file?
A2: It's part of the xmldom object and therefore is not part of any node of the file.
Q3: What's the difference between a strongly typed and weakly typed language?
A3: In a strongly typed language, variables are declared to be a specific type and the type doesn't change throughout the scope of the variable. In a weakly typed language, the type of the variable changes as a consequence of the last assignment to that variable.

Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.