Presentation is loading. Please wait.

Presentation is loading. Please wait.

XML Technologies Getting data to play nice with other data.

Similar presentations


Presentation on theme: "XML Technologies Getting data to play nice with other data."— Presentation transcript:

1 XML Technologies Getting data to play nice with other data

2 Introduction  Enormous amount of topics and subtopics  Standards  Popular and important implementations of XML  Concentrate on XML Data- highly structured side of XML

3 XML Data  What is it  What can it do  Creation  Validation  Presentation

4 XML Data  What is it? XML identifies structure Helps give meaning to data Glue that binds many applications together Way of representing information as text documents Nurse, Registered Registered Nurses (RNs) administer general nursing care which includes assessing, planning, providing, delegating, teaching, and supervising care which promotes optimum health and independence for ill, injured, and well persons. They give prescribed medications and treatments, and may supervise other nursing personnel. ORS 678.010 to 678.135 291111 511601 511602 511603 511604 511605 010606 511606 511607 511608 511609 511610 511611 511612 Be able to read and write legibly Be at least 18 years of age Be free of communicable diseases $120 $80 $65 277

5 XML Data  What can it do? Move data around Way to make the data platform independent Kind of like an executive summary or an outline- Can pull data from multiple sources (even tables in a database) into a human readable, ordered Represent data in a hierarchy  Data Centric XML vs. Document Centric XML  Relational databases store data in normalized tables  XML documents can be created from Relational Database queries  XML documents can be stored in Relational Databases Native XML Databases also available Relational Databases with native XML support

6 Text Editor (Notepad) XML Data  Creating XML Data Any tags be used XML defines a rigid set of rules for the syntax of markup tags Text editor XML Tools Databases And More XML Spy Home Edition Exporting from Access 2003

7 XML Data  Validating XML Data DTD, Schema Elements are nested, attributes they can have and values they can contain The names of tags and how they are used is left up to the user or application and can be enforced by:  Document Type Definitions (DTDs)  XML Schema  Other Alternatives: Relax NG etc. DTD Schema

8 XML Data  Displaying XML Data on the Web Cascading Style Sheets (CSS), simple, preferred choice (non XML structure) Extensible Style Sheet Language (XSL), more complex formatting (XML structure) These two technologies can be used as alternative methods of formatting an XML document or they can work together Examples  CSS CSS  XSL XSL /* license xml casstyle sheet */ license {font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 11pt; margin-top: 12pt; margin-left: 12pt; margin-bottom: 4pt} lictitle, licdesc, number-of-licenses, places- of-employment, auth-statute, lic-requirements, fees, exam-fee, original- license-fee, renewal-fee, exam, licensing-agency, cistitle, dot, soc, cip {display: block; font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 11pt; margin-top: 12pt; margin-left: 12pt; margin-bottom: 4pt} auth-statute:before {content: "Authorizing Statue: "; font-weight:bold;} soc:before {content: "SOC Codes: "; font- weight:bold;} dot:before {content: "DOT Codes: "; font- weight:bold;} cip:before {content: "CIP Codes: "; font- weight:bold;} lictitle {display: block; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; color: #336600; padding-top: 35px; text-align:center; margin-top: 12pt; CSS dd {text-align: center} body {font-family: Helvetica, Arial, Verdana, sans-serif; font-size: 11pt;}.title { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 20px; font-weight: bold; color: #336699; padding-top: 35px; } Authorizing Statute: SOC Codes: 1">,   XSL

9 XML Data Applications  Information Sharing (RSS, ATOM, RDF)  Data Sharing (Namespaces and XSLT)  Application Integration (Web Services)  Information Aggregation (MS Office)  Data Integration (XML and Databases)

10 XML Data Applications  Information Syndication Federal government using RSS State government using RSS Growing number of users consuming RSS Census Oregon SharpReader

11 XML Data Applications  Data Sharing Delivery of structured information that can be manipulated Namespaces  distinguish different elements and attributes that have the same name but different meaning  groups all the elements and attributes together XSLT to translate one XML format to another <license xmlns:22=“http://www.almisdb.org/ns /license21/1.5” xmlns:23=“http://www.almisdb.org/ns /license23/1.0”> Namespaces <xsl:stylesheet xmlns: xsl=“http://www.w3.org/1999 /XSL/Transform” version=“1.0”> XSLT

12 XML Data Applications  Application Integration Web Services  Key components- XML, HTTP, SOAP, WSDL, UDDI  still at early stages EXCEPT for RSS  Major chunks Building web services i.e. I have one Publishing web services i.e. I want one Or I want to let others know I have one Consuming Web Services i.e. I get one If computers get too powerful, we can organize them into a committee -- that will do them in. Bradley's Bromide Building Publishing

13 XML Data Applications  Data Integration XML and databases  Data residing in different platforms  Customized data formats  Desired information normally resides in multiple databases  Even can span across states  Xquery/Xpath  View raw results with a browser Import Access

14 XML Data Applications  Information Aggregation XML and MS Office  Share data across software applications including desktop applications  View raw results with a browser XML Web Services

15 XML Technology Watch  Top 5 things to watch for as relate to XML Data Semantic Web  What it is: Way to give full meaning to XML elements using inheritance relationships  Reason to watch: W3C project, Make better searching for relevant information RDF  What it is: Way to describe resources especially Web documents and sites  Reason to watch: W3C project, Representing normalized data, (Xml topic maps) capture a lot of basic infrastructure for data, Support is growing Web Ontologies (OWL)  What it is: Means of representing complex information  Reason to watch: More detail on relationships than RDF, can express cardinality restraints XQuery  What it is: Uses SQL-like query language, combined with XPATH expressions for querying XML documents  Reason to watch: Full query and reporting from XML documents, May replace primitive searching and querying of XML done by XSLT MetaData  What it is: information that describes data  Reason to watch: Gives meaning to data, consistent way to work with vast amount of data, foundation for contextual searching


Download ppt "XML Technologies Getting data to play nice with other data."

Similar presentations


Ads by Google