Introduction to Parsers |
|
Web applications exchange XML documents to share data. However, XML documents contain data and XML constructs such as elements, attributes, or namespace declarations that applications cannot understand. Therefore, applications use parsers to extract data from an XML document. For example, an application receives an XML document that contains the following namespace declaration: xmlns:pre=”http://www.mysite.com/partner” A parser can identify the XML constructs within the namespace declaration. The parser can recognize that the namespaceURI, |
![]() |
Click the Next button to continue. |