XML Parser Architecture for Windows CE

The XML parser on Windows CE is a componentized version of the Microsoft® XML Parser (MSXML) version 3.0 SP1. The XML parser is divided into five features, which are dependent on other components both inside and outside the XML family of features.

Note   The software development kit (SDK) for your particular device may or may not contain the individual features of the XML parser. The features included are dependent on the features that the device manufacturer selected. To determine which of the features are available in this SDK, select the appropriate feature link in the See Also section of this topic. If your Help browser takes you to the documentation for the feature, then the feature has been included in this SDK.

The following illustration shows the architecture of the XML features.

The XML Core Services and DOM feature provides core XML parsing functionality and is required by all of the other XML features. The DOM uses a tree-based document object model. An alternative set of APIs for XML parsing, the Simple API for XML (SAX) feature uses a stream-based model. With the stream-based model, you can process larger XML documents. Also, the model has better memory performance characteristics than DOM.

The XML Query Language (XQL) feature provides a mechanism for retrieving and interpreting XML data. The Extensible Stylesheet Language Transformation (XSLT) feature, which requires that XQL is installed on the device, provides a method for converting XML data into different formats. You can use XSLT to convert XML into HTML for display in a browser, or to convert XML data from one schema to another.

With the XML HTTP feature, you can post XML data using the HTTP port. The XML HTTP feature requires the URL Moniker Services (URLMON) feature, which, in turn, requires the WinInet feature. URLMON and WinInet provide Internet capabilities.

Because the Core Services and DOM feature requires Internet functionality, all the other XML features receive Internet functionality. If XML HTTP is included on the device, then WinInet is included on the device. However, if XML HTTP is not included on the device, then either Windows Internet Services (WinInet) or HTTPLite will be included in your SDK. WinInet is included on devices using one of the Internet Appliance configurations. Internet Appliance configurations are used for full-featured devices that usually include monitor support. The HTTPLite component will typically be include on devices, such as routers, that use one of the Headless configurations.

See Also

XML Core Services and Document Object Model | XML HTTP | XML Query Language (XQL) | XML Stylesheet Language Transformations (XSLT) | XML SAX | Windows Internet Services (WinInet) | URL Moniker Services

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.