13.07.2015 Views

Applied XML Programming for Microsoft .NET.pdf - Csbdu.in

Applied XML Programming for Microsoft .NET.pdf - Csbdu.in

Applied XML Programming for Microsoft .NET.pdf - Csbdu.in

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Related <strong>XML</strong> StandardsTable 1-1 lists the <strong>XML</strong>-related standards that have been implemented <strong>in</strong> the .<strong>NET</strong>Framework. The table also provides the official URL <strong>for</strong> each standard <strong>for</strong> furtherreference.Table 1-1: W3C Standards Supported <strong>in</strong> the .<strong>NET</strong> FrameworkStandard<strong>XML</strong> 1.0<strong>XML</strong> namespaces<strong>XML</strong> SchemaDOM Level 1 and Level 2 CoreXPathXSLTSOAP 1.1Referencehttp://www.w3.org/TR/1998/RECxml-19980210http://www.w3.org/TR/REC-xmlnameshttp://www.w3.org/TR/xmlschema-2http://www.w3.org/TR/DOM-Level-2http://www.w3.org/TR/xpathhttp://www.w3.org/TR/xslthttp://www.w3.org/TR/SOAPAs a data exchange technology, <strong>XML</strong> is fully and tightly <strong>in</strong>tegrated <strong>in</strong>to the .<strong>NET</strong>Framework. Table 1-2 provides a quick schematic view of the ma<strong>in</strong> areas of the .<strong>NET</strong>Framework <strong>in</strong> which significant traces of <strong>XML</strong> are clearly visible. Each area <strong>in</strong>cludesnumerous classes and provides a set of application-level functions.Table 1-2: Areas of the .<strong>NET</strong> Framework <strong>in</strong> Which <strong>XML</strong> Is KeyCategoryADO.<strong>NET</strong>ConfigurationRemot<strong>in</strong>gWeb services<strong>XML</strong> pars<strong>in</strong>g<strong>XML</strong> serializationDescriptionData conta<strong>in</strong>er objects (<strong>for</strong> example, the DataSet object)are always transferred and remoted via <strong>XML</strong>. The .<strong>NET</strong>Framework also provides <strong>for</strong> two-way synchronizedb<strong>in</strong>d<strong>in</strong>g between data exposed <strong>in</strong> tabular <strong>for</strong>mat and<strong>XML</strong> <strong>for</strong>mat.Application sett<strong>in</strong>gs are stored <strong>in</strong> <strong>XML</strong> files, mak<strong>in</strong>g useof predef<strong>in</strong>ed and user-def<strong>in</strong>ed section readers. (Moreon readers later.)Remote .<strong>NET</strong> Framework objects can be accessed byus<strong>in</strong>g SOAP packets to prepare and per<strong>for</strong>m the call.SOAP is a lightweight <strong>XML</strong> protocol that Web servicesuse <strong>for</strong> the exchange of <strong>in</strong><strong>for</strong>mation <strong>in</strong> a decentralized,distributed environment. Typically, you use SOAP to<strong>in</strong>voke methods on a Web service <strong>in</strong> a plat<strong>for</strong>m<strong>in</strong>dependentfashion.The core classes provid<strong>in</strong>g <strong>for</strong> <strong>XML</strong> pars<strong>in</strong>g andmanipulation through both the stream-based API and the<strong>XML</strong> Document Object Model (<strong>XML</strong>DOM).Supplies the ability to save and restore liv<strong>in</strong>g <strong>in</strong>stancesof objects to and from <strong>XML</strong> documents.7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!