1 / 9

XML – An Introduction

XML – An Introduction. What Is XML?. Extensible markup language Encoding objects based on their structure and meaning of content Convergence of three technologies: Document markup Data interchange World wide web. Why XML?. To address HTML limitations

Download Presentation

XML – An Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. XML – An Introduction

  2. What Is XML? • Extensible markup language • Encoding objects based on their structure and meaning of content • Convergence of three technologies: • Document markup • Data interchange • World wide web

  3. Why XML? • To address HTML limitations • Enabling technology for a business web • Next generation web

  4. Basic XML Process Content, structure, meaning XML Document End Result Processing Engine What to do with XML Application SpecificationObject

  5. Processing XML • Parsers • Parsers are commodity items • Two basic types: • Tree based (DOM) • Event based (SAX) • Your applications requirements decide which one to use • Validating parsers

  6. XML Validity • Well-formed is not always enough. • Provides higher level conformance. • Include formal definition of data model. • Document type definition (DTD). • Schema. • A DTD defines a document type.

  7. XSL and XSLT • XSL • XSLT – transformation stylesheet • XSL FO – formatting objects • XSLT XML Document HTML Document XSLT Engine XSLT Style sheet

  8. Very Simple Example <xsl:stylesheet version=“1.0”> <xsl:template match=“person”> <html><p> <xsl:apply-templates/> </p></html> </xsl:template> </xsl:stylesheet> <person type=“fictional”> <name> <first>Peter</first> <last>Pan</last> <feature>flies</feature> </person> XSLT Engine <html><p>PeterPanflies</p></html>

  9. XML Future • Http & XML =. • Soap. • XML-RPC. • Can work across firewalls. • Platform independent. • XML enabled data bases. • XML enabled search engines. • Industry standard XML vocabularies.

More Related