Parsing and Transforming
XML documents are processed in two ways: parsing and transforming. Parsing involves reading the XML document and interpreting document nodes in a way that is useful for the application. What this may mean is that if the application contains a number of nodes which are not of interest to the application, they will be passed over or ignored. Only the content that is meaningful to the application will be used. An application may use this document content either by placing values into specific member variables, or by creating objects which encapsulate the information from the XML document.
Alternatively, an application may not need to place any of the information in an XML document in the application's state. Instead, the ...
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