This document provides an overview of XML and related technologies. It discusses how XML can be used to structure data to allow it to be passed between different systems. Some key benefits of using XML include its flexibility, ability to search and extract data, and compressibility. The document also outlines several common tasks involved in working with XML data, such as validation, editing, transformation, querying, and linking documents. It recommends using technologies like XML Schema, XSLT, and namespaces to accomplish these tasks.
This document provides an introduction to databases. It defines what a database is, noting that a database is essentially a list of information or a set of lists that work together. It describes how databases store information in tables, with each table containing one type of information organized into rows and columns. Each row contains the data for one record, with each column containing a field of information. The document contrasts databases with spreadsheets, noting that databases can handle many more rows of data simultaneously for many users and provide greater security than spreadsheets.
The document provides an introduction to database management systems (DBMS). It defines key concepts such as data, records, tables, relations, and databases. It explains that a DBMS consists of the database itself and a management system. The management system establishes rules and procedures for creating, organizing, and manipulating the data in the database. The document also discusses three schemas - the physical schema (how data is stored), logical schema (database structure), and external schema (views for end users). It introduces the concepts of data independence, which aims to minimize changes needed across schemas if changes are made.
This document discusses different topics including:
1. The process of manufacturing horns used in Indian art industries which involves keeping the horns moist with coconut oil and heating them before shaping and ornamenting with tools.
2. Details about buffalo and bison horns being commonly used materials, with bison horn providing a more artistic material.
3. Brief descriptions of the Tower of Silence structure used by Zoroastrians for exposing the dead, and the Kashi Vishwanath Temple dedicated to Lord Shiva located in Varanasi on the banks of the Ganges River.
This document discusses the key parts of a sentence: the subject, which is the part about which something is said, and the predicate, which says something about the subject. It notes that every sentence has a subject and predicate. It further breaks down sentences into their simple subject (the main word in the subject) and simple predicate or verb (the main word or group of words in the predicate). The complete subject includes the simple subject and any modifiers, while the complete predicate includes the simple predicate and any modifiers.
Dokumen tersebut membahas tiga tempat penjual selat terkenal di Kota Solo yaitu rumah makan Kusuma Sari yang memiliki cita rasa autentik, warung selat Mbak Lies yang menarik karena kostum pelayan yang berganti setiap hari, dan selat Viens yang menawarkan dua pilihan selat daging iga dan cacah dengan rasa yang segar cenderung asam.
Biodiversity refers to the variety of plant and animal life on Earth. It exists at genetic, species, and ecosystem levels. Biodiversity provides benefits like new drugs and supports agriculture, but it faces threats. Major threats include habitat loss, overexploitation, invasive species, climate change, pollution, and more. Habitat loss is largely due to agriculture, while overexploitation stems from consumer demand depleting populations of plants, animals, and fish. Invasive species also spread through travel and trade, preying on and competing with native species. Climate change is driving changes in species distributions and behaviors. Pollution harms biodiversity directly through mortality and indirectly by degrading habitats. Collectively, these threats increase the risk
This document provides an introduction to databases. It defines what a database is, noting that a database is essentially a list of information or a set of lists that work together. It describes how databases store information in tables, with each table containing one type of information organized into rows and columns. Each row contains the data for one record, with each column containing a field of information. The document contrasts databases with spreadsheets, noting that databases can handle many more rows of data simultaneously for many users and provide greater security than spreadsheets.
The document provides an introduction to database management systems (DBMS). It defines key concepts such as data, records, tables, relations, and databases. It explains that a DBMS consists of the database itself and a management system. The management system establishes rules and procedures for creating, organizing, and manipulating the data in the database. The document also discusses three schemas - the physical schema (how data is stored), logical schema (database structure), and external schema (views for end users). It introduces the concepts of data independence, which aims to minimize changes needed across schemas if changes are made.
This document discusses different topics including:
1. The process of manufacturing horns used in Indian art industries which involves keeping the horns moist with coconut oil and heating them before shaping and ornamenting with tools.
2. Details about buffalo and bison horns being commonly used materials, with bison horn providing a more artistic material.
3. Brief descriptions of the Tower of Silence structure used by Zoroastrians for exposing the dead, and the Kashi Vishwanath Temple dedicated to Lord Shiva located in Varanasi on the banks of the Ganges River.
This document discusses the key parts of a sentence: the subject, which is the part about which something is said, and the predicate, which says something about the subject. It notes that every sentence has a subject and predicate. It further breaks down sentences into their simple subject (the main word in the subject) and simple predicate or verb (the main word or group of words in the predicate). The complete subject includes the simple subject and any modifiers, while the complete predicate includes the simple predicate and any modifiers.
Dokumen tersebut membahas tiga tempat penjual selat terkenal di Kota Solo yaitu rumah makan Kusuma Sari yang memiliki cita rasa autentik, warung selat Mbak Lies yang menarik karena kostum pelayan yang berganti setiap hari, dan selat Viens yang menawarkan dua pilihan selat daging iga dan cacah dengan rasa yang segar cenderung asam.
Biodiversity refers to the variety of plant and animal life on Earth. It exists at genetic, species, and ecosystem levels. Biodiversity provides benefits like new drugs and supports agriculture, but it faces threats. Major threats include habitat loss, overexploitation, invasive species, climate change, pollution, and more. Habitat loss is largely due to agriculture, while overexploitation stems from consumer demand depleting populations of plants, animals, and fish. Invasive species also spread through travel and trade, preying on and competing with native species. Climate change is driving changes in species distributions and behaviors. Pollution harms biodiversity directly through mortality and indirectly by degrading habitats. Collectively, these threats increase the risk
Dokumen tersebut membahas tiga tempat penjualan selat terkenal di Kota Solo beserta informasi mengenai makanan tersebut. Tempat pertama adalah rumah makan Kusuma Sari yang menyajikan selat dengan mayones lezat. Tempat kedua adalah warung Mbak Lies yang menyediakan berbagai pilihan selat dengan harga sekitar Rp10.000. Tempat ketiga adalah Selat Viens yang menawarkan dua jenis selat daging dengan harga Rp8.
The document provides information about Dr. Bhau Daji Lad Museum. It describes Dr. Bhau Daji Lad as an eminent physician who was interested in archaeology and researched the markings at Elephanta. He achieved great popularity as a practitioner and conducted research using Indian drugs to treat leprosy. He held several educational positions in Bombay and advocated for the rights, education, and development of his fellow countrymen. Finally, Dr. Bhau Daji Lad secured funds for the construction of the Victoria and Albert Museum, of which he was a founder.
Los grupos vulnerables son todos aquellos que en virtud de su!edad, raza, sexo, condición económica,
social, características físicas, circunstancias culturales y políticas u orientación sexual, pueden
encontrar mayores obstáculos en!el!ejercicio de sus derechos ciudadanos. Esta condición se agrava si
se!suman problemas!con!el!uso, abuso o dependencia de sustancias psicoactivas.
Dokumen tersebut membahas sistem sirkulasi darah pada manusia dan hewan. Sistem sirkulasi darah pada manusia terdiri dari sistem peredaran darah dan sistem limfatik. Sistem peredaran darah pada vertebrata dan invertebrata berbeda, mulai dari jantung, pembuluh darah, hingga cara sirkulasi darahnya.
Perekonomian empat sektor mempertimbangkan perdagangan luar negeri dalam pengeluaran agregat, yang terdiri dari pengeluaran konsumsi, investasi, pemerintah, dan ekspor bersih. Pendapatan nasional seimbang tercapai ketika penawaran agregat sama dengan permintaan agregat."
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help boost feelings of calmness, happiness and focus.
SC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport dataBigData_Europe
This document discusses maximizing the reuse of open transport data through improving interoperability. It outlines several key steps to improving interoperability, including using open licenses, sharing data on the web using open standards like JSON and XML, identifying data using URIs instead of local identifiers, and exposing reusable building blocks of datasets to facilitate federated querying of multiple datasets. The goal is to make it as easy as possible to combine multiple transport datasets as if they were one for applications like route planning algorithms.
This document summarizes key points about Atom and hAtom standards for syndicating web content:
1) Atom is an open standard for web feeds defined by RFCs. It was created to address issues with RSS and provide a consistent XML format. Atom defines feeds that contain metadata and entries for content.
2) hAtom is a microformat based on Atom that allows semantic markup of blog posts and other content directly in HTML. It identifies important elements like titles, authors, and dates without a separate feed file.
3) While Atom can be used to syndicate any content, hAtom is generally used for blog posts. Atom feeds can be constructed from content marked up with hAtom. They share many
A Semantic Data Model for Web ApplicationsArmin Haller
This presentation gives a short overview of the Semantic Web, RDFa and Linked Data. The second part briefly discusses ActiveRaUL, our model and system for developing form-based Web applications using Semantic Web technologies.
Basics of Open Data: what you need to know by Wouter Degadt & Pieter ColpaertOpening-up.eu
Linked Open Data means making data more interoperable with other datasets on the web by using URIs as identifiers and triples as atomic building blocks. URIs are assigned to every term and concept, and triples are used to connect terms and represent facts about entities. This allows different machines to understand the relationships between data in a consistent way. Publishing data as Linked Open Data according to these principles can make it easier to query and integrate with other datasets.
The document is about the Semantic Web conference to be held in Honolulu, Hawaii from May 7-11, 2002. It provides information about the conference name, location, date, slogan, and lists some of the expected participants. XML markup is suggested to add structure and meaning to the information for machines to better understand the document.
Cloud Computingfor Librarian To Librarian Networking SummitLynn McCormick
This document discusses cloud computing and Google Docs. It provides a brief history of data storage from the 1950s to present day. It then defines cloud computing and describes the three layers of cloud computing: Software as a Service (SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS). The rest of the document demonstrates how to use Google Docs, including creating and sharing documents and presentations, using forms, and collaborating in real-time with other users. It suggests various educational uses for Google Docs.
The document discusses database concepts including:
- What a database is and its components like data, hardware, software, and users.
- Database management systems (DBMS) that enable users to define, create and maintain databases.
- Data models like hierarchical, network, and relational models. Relational databases using SQL are now most common.
- Database design including logical design, physical implementation, and application development.
- Key concepts like data abstraction, instances and schemas, normalization, and integrity rules.
Build Your Own World Class Directory Search From Alpha to OmegaRavi Mynampaty
Ravi provides an overview of building a world-class directory and search solution. He demonstrates setting up a Solr collection using sample Congressional data and exploring various search features like facets, substrings, and fuzzy matching. Ravi emphasizes iterating on data modeling, features, and the user interface to build the best solution.
This document provides an introduction to Microsoft Access 2007, including:
1) Databases are used to organize related information into tables, queries, forms, and reports. Tables store the core data, while queries find and retrieve data, forms provide interfaces to view and edit data, and reports analyze and present data.
2) Proper database design includes determining the database purpose and intended uses, defining relevant tables and their fields, identifying primary keys to connect tables, and determining relationships between tables.
3) The core components of an Access database are tables, which organize data into rows and columns. Fields define the columns and have properties like data type and size that determine how data is stored and displayed.
This document discusses databases and their uses in libraries. It defines a database as an organized collection of data consisting of schemas, tables, queries, reports and views. The history of databases is explored from the 1960s navigational models to modern SQL, object-oriented, NoSQL and NewSQL databases. Database components include data, hardware, software and users. Specific databases used at the ICCBS library are then outlined, including KOHA, various online journal databases and ebook collections.
This document provides an overview of databases and Microsoft Access. It defines key database concepts like records, fields, and data types. It explains how to start Microsoft Access and create new or open existing databases, including using the database wizard or creating a blank database. It also introduces some common Microsoft Access objects like tables, forms, and reports. The document serves as an introduction to working with databases in Microsoft Access.
Dokumen tersebut membahas tiga tempat penjualan selat terkenal di Kota Solo beserta informasi mengenai makanan tersebut. Tempat pertama adalah rumah makan Kusuma Sari yang menyajikan selat dengan mayones lezat. Tempat kedua adalah warung Mbak Lies yang menyediakan berbagai pilihan selat dengan harga sekitar Rp10.000. Tempat ketiga adalah Selat Viens yang menawarkan dua jenis selat daging dengan harga Rp8.
The document provides information about Dr. Bhau Daji Lad Museum. It describes Dr. Bhau Daji Lad as an eminent physician who was interested in archaeology and researched the markings at Elephanta. He achieved great popularity as a practitioner and conducted research using Indian drugs to treat leprosy. He held several educational positions in Bombay and advocated for the rights, education, and development of his fellow countrymen. Finally, Dr. Bhau Daji Lad secured funds for the construction of the Victoria and Albert Museum, of which he was a founder.
Los grupos vulnerables son todos aquellos que en virtud de su!edad, raza, sexo, condición económica,
social, características físicas, circunstancias culturales y políticas u orientación sexual, pueden
encontrar mayores obstáculos en!el!ejercicio de sus derechos ciudadanos. Esta condición se agrava si
se!suman problemas!con!el!uso, abuso o dependencia de sustancias psicoactivas.
Dokumen tersebut membahas sistem sirkulasi darah pada manusia dan hewan. Sistem sirkulasi darah pada manusia terdiri dari sistem peredaran darah dan sistem limfatik. Sistem peredaran darah pada vertebrata dan invertebrata berbeda, mulai dari jantung, pembuluh darah, hingga cara sirkulasi darahnya.
Perekonomian empat sektor mempertimbangkan perdagangan luar negeri dalam pengeluaran agregat, yang terdiri dari pengeluaran konsumsi, investasi, pemerintah, dan ekspor bersih. Pendapatan nasional seimbang tercapai ketika penawaran agregat sama dengan permintaan agregat."
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help boost feelings of calmness, happiness and focus.
SC4 Workshop 2 : Pieter Colpaert - Maximizing the reuse of open transport dataBigData_Europe
This document discusses maximizing the reuse of open transport data through improving interoperability. It outlines several key steps to improving interoperability, including using open licenses, sharing data on the web using open standards like JSON and XML, identifying data using URIs instead of local identifiers, and exposing reusable building blocks of datasets to facilitate federated querying of multiple datasets. The goal is to make it as easy as possible to combine multiple transport datasets as if they were one for applications like route planning algorithms.
This document summarizes key points about Atom and hAtom standards for syndicating web content:
1) Atom is an open standard for web feeds defined by RFCs. It was created to address issues with RSS and provide a consistent XML format. Atom defines feeds that contain metadata and entries for content.
2) hAtom is a microformat based on Atom that allows semantic markup of blog posts and other content directly in HTML. It identifies important elements like titles, authors, and dates without a separate feed file.
3) While Atom can be used to syndicate any content, hAtom is generally used for blog posts. Atom feeds can be constructed from content marked up with hAtom. They share many
A Semantic Data Model for Web ApplicationsArmin Haller
This presentation gives a short overview of the Semantic Web, RDFa and Linked Data. The second part briefly discusses ActiveRaUL, our model and system for developing form-based Web applications using Semantic Web technologies.
Basics of Open Data: what you need to know by Wouter Degadt & Pieter ColpaertOpening-up.eu
Linked Open Data means making data more interoperable with other datasets on the web by using URIs as identifiers and triples as atomic building blocks. URIs are assigned to every term and concept, and triples are used to connect terms and represent facts about entities. This allows different machines to understand the relationships between data in a consistent way. Publishing data as Linked Open Data according to these principles can make it easier to query and integrate with other datasets.
The document is about the Semantic Web conference to be held in Honolulu, Hawaii from May 7-11, 2002. It provides information about the conference name, location, date, slogan, and lists some of the expected participants. XML markup is suggested to add structure and meaning to the information for machines to better understand the document.
Cloud Computingfor Librarian To Librarian Networking SummitLynn McCormick
This document discusses cloud computing and Google Docs. It provides a brief history of data storage from the 1950s to present day. It then defines cloud computing and describes the three layers of cloud computing: Software as a Service (SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS). The rest of the document demonstrates how to use Google Docs, including creating and sharing documents and presentations, using forms, and collaborating in real-time with other users. It suggests various educational uses for Google Docs.
The document discusses database concepts including:
- What a database is and its components like data, hardware, software, and users.
- Database management systems (DBMS) that enable users to define, create and maintain databases.
- Data models like hierarchical, network, and relational models. Relational databases using SQL are now most common.
- Database design including logical design, physical implementation, and application development.
- Key concepts like data abstraction, instances and schemas, normalization, and integrity rules.
Build Your Own World Class Directory Search From Alpha to OmegaRavi Mynampaty
Ravi provides an overview of building a world-class directory and search solution. He demonstrates setting up a Solr collection using sample Congressional data and exploring various search features like facets, substrings, and fuzzy matching. Ravi emphasizes iterating on data modeling, features, and the user interface to build the best solution.
This document provides an introduction to Microsoft Access 2007, including:
1) Databases are used to organize related information into tables, queries, forms, and reports. Tables store the core data, while queries find and retrieve data, forms provide interfaces to view and edit data, and reports analyze and present data.
2) Proper database design includes determining the database purpose and intended uses, defining relevant tables and their fields, identifying primary keys to connect tables, and determining relationships between tables.
3) The core components of an Access database are tables, which organize data into rows and columns. Fields define the columns and have properties like data type and size that determine how data is stored and displayed.
This document discusses databases and their uses in libraries. It defines a database as an organized collection of data consisting of schemas, tables, queries, reports and views. The history of databases is explored from the 1960s navigational models to modern SQL, object-oriented, NoSQL and NewSQL databases. Database components include data, hardware, software and users. Specific databases used at the ICCBS library are then outlined, including KOHA, various online journal databases and ebook collections.
This document provides an overview of databases and Microsoft Access. It defines key database concepts like records, fields, and data types. It explains how to start Microsoft Access and create new or open existing databases, including using the database wizard or creating a blank database. It also introduces some common Microsoft Access objects like tables, forms, and reports. The document serves as an introduction to working with databases in Microsoft Access.
Week 6 - Discussion ForumRequired ResourcesTextSharpe, N. .docxhelzerpatrina
The document provides resources and instructions for a week 6 discussion forum assignment. Students are asked to imagine they are a business executive tasked with marketing one of two new toys for the upcoming holiday season. They must provide expected profit payoffs and probabilities to a data analyst. The data analyst will then use decision analysis techniques to recommend an optimal decision based on expected profits.
This document provides an overview of microformats, which are simple, open data formats built upon existing web standards like HTML and CSS. Microformats aim to solve specific problems by marking up common types of information like contacts, events, reviews, and tags in a standardized way. This makes the data more accessible for machines and easier to aggregate. The document discusses the benefits of microformats, provides examples of how to mark up contacts and events, and lists tools and sites that implement microformats.
XML is everywhere. Computers, Mobiles, Bank Systems, Internet, TVs, Microwaves, all use XML as an Information Wrapping and Information Xchange System. We will tell you all the basics in a simplest possible way.
This document provides an overview of a database systems lecture. It introduces the instructor, Sadaf Iqbal, and lists required and reference textbooks. It outlines the course objectives which include understanding database concepts, the relational model, SQL, database design, and administration. Key topics are also summarized such as the introduction to databases chapter which covers database uses, characteristics of file-based systems, problems with those systems, and advantages of database management systems.
Big data is the term that characterized by its increasing
volume, velocity, variety and veracity. All these characteristics
make processing on this big data a complex task. So, for
processing such data we need to do it differently like map reduce
framework. When an organization exchanges data for mining
useful information from this big data then privacy of the data
becomes an important problem. In the past, several privacy
preserving algorithms have been proposed. Of all those
anonymizing the data has been the most efficient one.
Anonymizing the dataset can be done on several operations like
generalization, suppression, anatomy, specialization, permutation
and perturbation. These algorithms are all suitable for dataset
that does not have the characteristics of the big data. To preserve
the privacy of the large dataset an algorithm was proposed
recently. It applies the top down specialization approach for
anonymizing the dataset and the scalability is increasing my
applying the map reduce frame work. In this paper we survey the
growth of big data, characteristics, map-reduce framework and
all the privacy preserving mechanisms and propose future
directions of our research.
This document provides information about a database systems lecture, including the instructor's details, required and reference textbooks, course objectives and contents, marks distribution, and chapter summaries from the first lecture. The instructor is Mr. Asif Muneer from COMSATS Institute of Information Technology in Islamabad, Pakistan. The required textbook is Database Systems: A Practical Approach to Design, Implementation, and Management by Connolly and Begg. Course topics include the relational model, SQL, database design, and transaction management. Marks will be distributed across quizzes, assignments, and exams. The first lecture covers database and DBMS concepts, characteristics of file-based systems, advantages of the database approach, and components of the DBMS
2. Page 2
Origins of the World Wide Web
1989 - Information
Management: A Proposal
– Tim Berners-Lee, CERN
“We should work toward a
universal linked information
system, in which generality and
portability are more important
than fancy graphics techniques
and complex extra facilities”
Comments from
Management:
– ‘Exciting, but a little
vague’
A “mesh” of computers
REJECTED
3. Page 3
World Wide Web Consortium (W3C)
Founded in 1994 to “lead the Web to its full potential”
– Develop common protocols
– Ensure interoperability
– Promote WWW evolution
Co-hosted by MIT (U.S.), INRIA (France) and Keio (Japan)
Universities
Supported by DARPA and the European Commission
Over 300 members including DISA, National Labs and
MITRE
4. Page 4
XML is all about data!
Every organization uses data! So, XML is a very
foundational technology.
DATA
Microsoft
Sun
IBM
DoD
KMart Dell . . .
… data makes the world go around ...
5. Page 5
Family of XML Technologies
XML
Namespaces
XSLT/XPath
XML Schemas
RDF
XQuery
SVG
SAX/DOM
SOAP,
WSDL,
UDDI
Xlink/
XPointer
RDDL
MathML
RSS
6. Page 6
XML
(and its Associated Technologies)
All about data:
– structuring the data
– accessing and manipulating the data
Computer 1 Computer 2
data
7. Page 7
Passing Data between Systems
Suppose that you’ve got book data that you want
to pass between some systems
“My Life and Times” Paul McCartney July 1998
94303-12021-43892 McMillin Publishing.
“Illusions The Adventures of a Reluctant Messiah”
Richard Bach 1977 0-440-34319-4 Dell Publishing Co..
“The First and Last Freedom” J. Krishnamurti 1954
0-06-064831-7 Harper & Row.
8. Page 8
Passing Data between Systems
First thing you might do is agree on how you will
structure your data:
“My Life and Times”/Paul McCartney/July 1998/94303-12021-43892/McMillin Publishing.
“Illusions The Adventures of a Reluctant Messiah”/Richard Bach/1977/0-440-34319-4/Dell Publishing Co..
“The First and Last Freedom”/J. Krishnamurti/1954/0-06-064831-7/Harper & Row.
Title / Author / Date / ISBN / Publisher
Here we are using a slash to delimit (separate) each field and a
carriage return to delimit each record.
9. Page 9
Alternatively
<Book>
<Title>My Life and Times</Title>
<Author>Paul McCartney</Author>
<Date>July, 1998</Date>
<ISBN>94303-12021-43892</ISBN>
<Publisher>McMillin Publishing</Publisher>
</Book>
<Book>
<Title>Illusions The Adventures of a Reluctant Messiah</Title>
<Author>Richard Bach</Author>
<Date>1977</Date>
<ISBN>0-440-34319-4</ISBN>
<Publisher>Dell Publishing Co.</Publisher>
</Book>
<Book>
<Title>The First and Last Freedom</Title>
<Author>J. Krishnamurti</Author>
<Date>1954</Date>
<ISBN>0-06-064831-7</ISBN>
<Publisher>Harper & Row</Publisher>
</Book>
Here we are delimiting each data item with a start and end tag.
We are enclosing each record also within a start-end tag.
10. Page 10
Comparison
Slash-delimited
– Advs:
– Little space overhead
– Disadv:
– Rigid format (cannot shuffle the data around)
Tag-delimited (XML)
– Advs:
– Flexible format (can shuffle the data around)
– Tags enhance ability to search for data
– Tags enhance ability to extract subsets of data
– Disadvs:
– Verbose (XML Bloat)
11. Page 11
Compressibility of XML
XML is very compressible!
txt
XML
WinZip
XMill (an XML compression tool from AT&T)
Alternative tool: B-Zip.
674,062 bytes
11,421,822 bytes
148,294 bytes 94,369 bytes
The compressed version of the XML document is smaller
than the compressed version of the original document!
translate
12. Page 12
Transferring Large XML Documents
Example: suppose that you have a 30MB XML file that you need
transferred
Typical transfer rate: 1MB/sec
Total time = 30MB * sec/1MB = 30sec
Too long! What do we do?
We could compress it, then it would be a smaller file and thus
would take less time
However, there are issues with compressing - time to
compress/decompress, ensuring both sender and receiver have
the tools, etc
There is an alternative ...
13. Page 13
Transferring Large XML Documents
(cont.)
The alternative is to do XML Streaming
– send the XML declaration and root element to
make the initial contact.
– Then send the first chunk of XML. While the
receiver is processing the first chunk the
succeeding chunks can be sent in the
background.
HTML, Jabber (XML-based Instant Messaging)
does streaming
14. Page 14
Summary of First Step
Thus, the first step in passing data between systems is to
agree to how the data is going to be structured
– Use slash-delimiters, or
– Use tags, or
– Use some other delimiter
Now each system can be written to expect the data that it
receives to be in that structure. Likewise, when it sends
out data it will send it out in that format.
15. Page 15
What Next? Express Data Business
Rules
We will need a syntax to express our data's
business rules.
Each Book must contain data for the Title, Author, Date, ISBN, and Publisher.
The Date must have the format: year, or month-comma-year.
The ISBN must have 10 digits, 3 dashes, and must end with 0-9 or x.
etc.
Data Business Rules
Note: of course, we will want to express these constraints using a more formal
syntax than English.
16. Page 16
What next?
Now that the data is structured in an agreed upon
fashion, what else do we typically want to do with the
data?
– We might want to have a tool which validates that
the data is in the agreed upon format
– Such a tool would help reduce system crashes
by ensuring that the data is valid
17. Page 17
Validation
<Book>
<Title>Illusions The Adventures of a Reluctant Messiah</Title>
<Author>Richard Bach</Author>
<Date>1977</Date>
<ISBN>0-440-34319-4-ppp</ISBN>
<Publisher>Dell Publishing Co.</Publisher>
</Book>
Validator
Error!!! Invalid ISBN!
Rules that indicate
the valid structure
of book data
18. Page 18
What else?
You might want a tool which helps you to build
your data documents
– It would be very helpful if this tool could use
the rules document, so that you don’t need to
remember tag names and the order of the data
19. Page 19
Creating and Editing
<BOOKCATALOGUE>
<BOOK>
<TITLE>My Life and Times</TITLE>
<AUTHOR>Paul McCartney</AUTHOR>
<DATE>July, 1998</DATE>
<ISBN>94303-12021-43892</ISBN>
<PUBLISHER>McMillin Publishing</PUBLISHER>
</BOOK>
<BOOK>
<TITLE>Illusions The Adventures of a Reluctant
Messiah</TITLE>
<AUTHOR>Richard Bach</AUTHOR>
<DATE>1977</DATE>
<ISBN>0-440-34319-4</ISBN>
<PUBLISHER>Dell Publishing Co.</PUBLISHER>
</BOOK>
<BOOK>
<TITLE>The First and Last Freedom</TITLE>
<AUTHOR>J. Krishnamurti</AUTHOR>
<DATE>1954</DATE>
<ISBN>0-06-064831-7</ISBN>
<PUBLISHER>Harper & Row</PUBLISHER>
</BOOK>
</BOOKCATALOGUE>
Rules that indicate
the valid structure
of book data
20. Page 20
What else?
What else do you need to use the data?
– A common Application Programming Interface (API) that
allows the systems to programmatically access the data
would be very beneficial
– Such a common API would keep each system from
duplicating effort
Computer
API
Data
21. Page 21
What else?
You might want to display the data, perhaps as
an HTML (Web) page, or filter out sensitive data,
or create a text version.
– In general, you might want a tool which
transforms the data from one form to another
22. Page 22
XML to HTML
XML
Web page
(HTML)
Transformation
Tool
Transformation
Instructions
Raw data
(nicely organized,
as XML of course!)
Data organized
in tables, in lists,
etc
23. Page 23
XML to XML
XML XML
Transformation
Tool
Transformation
Instructions
Contains
sensitive
data
Stripped of
the sensitive
data
24. Page 24
Problem – migrating legacy systems
Problem: migrate a group of systems from an old,
legacy data-format to the new, XML format.
Caveat: the migration strategy cannot force all
systems to migrate in lock-step!
25. Page 25
Transforming the Data
Data
Transformation
Tool
Transformation
Instructions
HTML, XML, Text
26. Page 26
What else?
You might want to provide metadata for the data
(i.e., data about the data)
– When was the data created? By whom? How
long is it valid?
Perhaps if your system is located at a Web site
you may want to serve up the metadata document
first, so that people/programs that interact with
your Web site can first decide if the data is
relevant before actually downloading the data
27. Page 27
What else?
You may wish to provide a query tool so that the
data can be queried
DataQuery
tool
Query
Results
28. Page 28
What else?
You might wish to provide hyperlinking
capabilities in your data, so that you can express
the relationship between this data and other data.
29. Page 29
Name Deconfliction
Medical XML Vocabulary NIST (msrmt stds) XML Vocabulary
Endoskeleton
Nerve
Body
Spine
Lymph
Foot
Mile
Meter
Inches
Kilometer
Foot
<foot>…</foot>
<foot>…</foot>
Is this a a human foot, or a
measurement foot?
If a machine processes this
document, how will it be
able to distinguish?XML document
30. Page 30
Summary
In a group of systems which pass around data, here are some things to
consider:
– Structure the data
– Syntax to express data business rules
– Validate the data
– Create/edit the data
– Provide a programmatic access API
– Transform tool to display the data
– A syntax to express metadata about the data
– Query tool
– Syntax to express relationships between documents
– Name deconfliction
31. Page 31
XML Technologies
Syntax
Data business rules
Validator
Editor
Programmatic API
Transformation tool
Metadata
Query
Linking
Name deconfliction
XML
DTD/XML Schema
XML Parser
XML Editor
XML DOM and SAX
XSL
RDF
XQL and XML-QL
XLink and Xpointer
Namespaces
32. Page 32
eXtensible Stylesheet Language Transform (XSLT)
XML alone says nothing about how to present the data
(what should it look like?)
XSLT is a flexible language to allow multiple
presentations and transformations of a given XML
representation
– Defines some behavior for XML elements
XSLT is expressed in XML
<?xml version=“1.0”?>
<xsl:stylesheet>
<xsl:template match=“air_tasking_order”>
[action]
</xsl:template>
<xsl:template match=“mission_data”>
[action]
</xsl:template>
...
</xsl:stylesheet>
33. Page 33
XML Query Language: XQuery
Provides declarative access to XML documents.
– Resilient to changes in the underlying structure or
schema.
Allows XML documents to be treated as database
instances.
– Information retrieved through interactive queries.
15 Feb 2001 – First working draft released
13 May 2001: Microsoft announces availability of XQuery
prototype (msdn.microsoft.com/xml)
FOR $b IN document("bib.xml")/book
WHERE $b//name = “Dr. Bob Miller" AND
$b//affil = “The MITRE Corporation"
RETURN $b/title
34. Page 34
Simple Object Access Protocol (SOAP)
Simple, easy to use XML-based protocol to let
software components and applications
communicate using standard Internet HTTP
SOAP = HTTP + XML
Standard RPC (DCOM, CORBA) not easily
adaptable to the Internet (e.g., blocked by
Firewalls)
9 July 2001: W3C SOAP 1.2 Working Draft
<SOAP-ENV:Envelop>
<SOAP-ENV:Body>
<xmlns:m=http://www.stock.org />
<m:GetStockPrice>
<StockName>MITRE</StockName>
</m:GetStockPrice>
</SOAP-ENV:Body>
</SOAP-ENV:Envelop>
HTTP Post
28 March
2001: SOAP
included in
ebXML
Messaging
Spec.
35. Page 35
Document Object Model (DOM)
Set of abstract (language neutral) class declarations for the
tree representation of XML documents
Declares several node classes that are connected to make
XML documents, such as:
– Document
– Element
– Attribute
– Text
Includes typical operations (methods), such as:
– createElement (name)
– createAttribute (name)
– ReplaceChild (newChild)
XML
Doc
Computer
Application
DOM
Implementation
36. Page 36
Wireless Application Protocol
Defines Binary XML
Content Format
Uses XML for
– Data Exchange
– User Interface via
Wireless Markup
Language (WML)
Managed by WAP
Forum
– Over 200 members
representing over
90% of the global
handset market
– Active liaison with
W3C and IETF
Taken from Nokia’s WAP Web Site
37. Page 37
Wireless Application Protocol (WAP)
Used for handheld devices (e.g., cell phone, Palm Pilot)
– Makes minimal demands on air interface
– Employs light weight protocol stack to minimize
bandwidth
Communicate with a WAP gateway to the Internet
– Works with most wireless networks
– Micro-browser spec controls the user interface
1 August 2001: WAP Forum released WAP 2.0
– Now supports eXtensible HTML (XHTML)
– Multimedia messaging services
– Instant messaging
– Voice, Images
– WAP Push (e.g., for alerts)
38. Page 38
Wireless Markup Language (WML)
Adheres to XML standards
– Allows use of XML tools
WML documents organized into well defined units of user
interaction
– Units called “cards”
– Suitable for limited display of handheld device
– Telephony (computerized phone services) aware
Write once, use anywhere
– WML documents can be used by any network or device
that is WAP-compliant
39. Page 39
XML Supports Multiple Interfaces
Human
Interfaces
ABCS
TBMCS
AFATDS
GCSS
IBS
Application
Interfaces
C4ISR
Databases
Data
Interfaces
Mobile
Interfaces
<air_operations_data>
<day-time> 020200Z </day-time>
<quantity> 6 </quantity>
<country> US </country>
<subject_type> FTR </subject_type>
<aircraft_type> F15 </aircraft_type>
<track_number> 401 </track_number>
</air_operations_data>
XML-MTF
40. Page 40
The Tower of Babel Problem
What’s a Namespace?
We need shared vocabularies and the means to specify
relationships between vocabularies
For example, What should the <tank> tag denote?
– A tracked vehicle with turret and cannon?
– A container for aviation fuel?
Possible solutions:
– Standardize all tags everywhere
– Have COIs standardize tags for that community
XML namespaces provide the XML Document vocabulary
XML namespace defined by XML schema
– More on this later……
www.ontology.org
www.rosettanet.org
41. Page 41
What is Metadata?
Metadata is data about data
Metadata adds value by supplying meaning
(semantics) to data so that is used as intended
Two types
– Internal (about info object content)
– External (about info object as a whole)
Metadata is exposed in various ways
– Data definitions, schema, ontology
– More is better
42. Page 42
What’s a DTD?
Document Type Definition (DTD):
– Supplies Metadata
– Describe the structure of XML documents
– Provide typing information of elements in those
documents
Problems with DTDs:
– DTDs not written in XML
– variety of Typing information is limited
Need something that supports endless variety of Types for
maximum flexibility in understanding the meaning of an
XML document
43. Page 43
What’s an XML Schema?
Schema is metadata about an XML document (information
object)
Used to describe the structure and content of a given XML
document type
– What will an instance of an XML document contain?
(e.g., a purchase order, a phone book record, a target
report, etc.)
– Elements (of data)
– Type (of data)
– Structure (of XML document)
Extensible typing -- Users can define their own types
– Allows rich semantics (metadata)
Specification against which XML can be validated.
May 2, 2001: XML Schema specification
released as a W3C recommendation
44. Page 44
XML Schema Example
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
targetNamespace="http://www.publishing.org"
xmlns="http://www.publishing.org"...
<xsd:element name=“Author">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=“Name" minOccurs="1" maxOccurs="1"/>
<xsd:element ref=“Affil" maxOccurs="1"/>
<xsd:element ref=“Email" minOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name=“Name" type="xsd:string"/>
<xsd:element name=“Affil" type="xsd:affilType"/>
<xsd:element name=“Email" type="xsd:emailType"/>
</xsd:schema>
Note that XML Schema is written in XML;
I.e. an XML schema is an XML document
45. Page 45
XML Schema Example
<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
targetNamespace="http://www.publishing.org"
xmlns="http://www.publishing.org"...
<xsd:element name=“Author">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref=“Name" minOccurs="1" maxOccurs="1"/>
<xsd:element ref=“Affil" maxOccurs="1"/>
<xsd:element ref=“Email" minOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name=“Name" type="xsd:string"/>
<xsd:element name=“Affil" type="xsd:affilType"/>
<xsd:element name=“Email" type="xsd:emailType"/>
</xsd:schema>
Definition of Element Structure
Definition of Element Type
XML Namespace Declaration
46. Page 46
Using Schemas
Composition and Validation
(Message Preparation)
Data entry
XML
Schema
XML
WSYSWG
Editor
XML
document
Guidance
XML Parser
XML document
Validation
XML
Schema
XML
Translation
Rules
Translator
Parsing, Validation, & Translation
(Message Processing)
Sender Receiver
User/Application
47. Page 47
XML is not a Silver Bullet
Some XML standards are still in development
Some vendors offer differing implementations of the standard
Just having systems publish XML does not ensure interoperability
– XML usage requires Communities of Interest (COI) to agree on XML tags
to ensure consistent interpretation
– Standardized schemas will also help
XML provides a common language through which to organize, define,
structure, and deal with your data and information - it forces you to actually
MANAGE information
XML allows many desirable practices for data management and exchange to
be applied more broadly, and at lower cost
XML is adding tools to our information management arsenal to attack some
of the deeper problems
Web services based on HTTP and XML provide the “least common
denominator” to integrate the wide variety of enterprise systems
But
48. Page 48
Places to go for more information
about XML
www.w3.org
www.xml.com
www.xml.org
www.ebxml.org
www.oasis-open.org/cover/xml.html
www.microsoft.com/xml
www.software.ibm.com/xml
www.oracle.com/xml
www.architag.com
49. Page 49
XML and Bandwidth
Tag bandwidth is small compared to imagery, video, etc.
Ability to dynamically interact with XML content can reduce the
granularity of information exchanges
– e.g., XQuery returns only a portion of a document
XML can be significantly compressed
– Commercial tools:
– Pkzip (everyone’s favorite)
– XMill -- AT&T smart compression tool
– MITRE Knowledge Based Compression
– Uses knowledge about message structure to direct
compression/decompression
– Defense Evaluation and Research Agency (DERA) UK
– XML Compression Study
50. Page 50
Electronic Business XML Initiative (ebXML)
Sponsored by UN/CEFACT + OASIS
– UN/CEFACT = United Nations body for e-commerce
(EDI)
– OASIS = Org. for Advancement of Structured Info Stds
(runs xml.org)
Developing an open XML- based infrastructure enabling the
global use of electronic business information in an
interoperable, secure and consistent manner by all parties
– a set of open technical specifications that define an
interoperable eBusiness framework
– An 18-month project
Global, open participation process supporting small,
medium and large enterprises
ebXML specifications approved at a meeting in Vienna,
Austria on 11 May 2001.
Tech specs available at www.ebxml.org
51. Page 51
ebXML Architecture
Messaging Services
Information
Package
Service
Interface
Enterprise
System
Registry/
Repository
Business
Process
Core Info &
Process
Information
Objects
Brokered I/S Exchange
ContextFor BuiltWith
Enterprise
System
Service
Interface
Enable one
Partner Role
Register
Enable other
Partner Roles
Ops View
Service View
14 May 2001
ebXML spec approved
52. Page 52
The Semantic Web
Extension of today’s WWW
Adds meaning (semantics) through:
– Rich metadata (ontologies express
relationships)
– Logic (supports inference rules)
Improved query and search
Semantic mediation (transforms info)
Supports Agents (fuselets)
http://www.scientificamerican.com/2001/0501issue/0501berners-lee.html
53. Page 53
What’s RDF?
A W3C model for representing metadata
Metadata represented as ordered triple
– (Subject, Verb, Object), e.g.
– Or Node, Property, Value
– Form is (URI, URI, URI or literal) but stated in XML
– Provides graph-like representations
– Thus an agent could move along the graph gobbling up
metadata
<#drbob> <#owns> <#mustang>
<#mustang> <#type_of> <#automobile>
Note: # is URI reference
56. Page 56
Semantic Web Technologies
XML Schemas
XML Query
Topic Maps
Resource Description Framework (RDF)
DARPA Agent Markup Language (DAML)
Ontologies
57. Page 57
Tim Berners-Lee Model
Unicode URI
XML Namespace XMLSchema
RDF RDFSchema
Ontology
Logic
Proof
Trust
DigitalSignature
Presented at
XML2K (Dec 2000)
SemanticWeb
58. Page 58
Building the Semantic Web through Web Services
Transactions initiated
automatically by a program,
not necessarily using a
browser
Can be described, published,
discovered, and invoked
dynamically in a distributed
computing environment
New ways of using the web:
intelligent agents,
marketplaces, auctions
All built on XML and other
internet standards!
TCP/IP - SSL
HTTP/HTTPS
Web Servers
Servlets/COM
XML
SOAP
WSDL
UDDI
Brokering
Workflow
Editor's Notes
While working at CERN, Tim Berners-Lee’s vision of a World Wide Web where people and systems could exchange information was rejected. However, there was enough peripheral funding through other tasks to keep the effort going.
… The World Wide Web Consortium does.
XSLT has standard function calls to perform actions.
Programming code (Java, C++, etc.) and scripts can be used through extensions. But this creates the problem of changing the XSLT code when you migrate to a different engine.
One common XSLT engine is xalan from Apache. It is the new name for Lotus XSLT and was given to Apache as open source code by IBM
Microsoft’s XSLT engine is included with MSXML.
XQuery permits treating an XML document as a database. XQuery allows a user to navigate and search through an XML document form specified information.
XML Protocol WG released SOAP version 12. Working Draft on 9 July 2001.
SOAP version 1.2 is a lightweight protocol for exchange of information in a decentralized, distributed environment. It is an XML based protocol that consists of four parts: an envelope that defines a framework for describing what is in a message and how to process it, a set of encoding rules for expressing instances of application-defined data types, a convention for representing remote procedure calls and responses and a binding convention for exchanging messages using an underlying protocol. SOAP can potentially be used in combination with a variety of other protocols; however, the only bindings defined in the Working Draft document describe how to use SOAP in combination with HTTP and the experimental HTTP Extension Framework.
28 March 2001: ebXML announces the inclusion of SOAP in its messaging Specification
We need ways for computer programs to interrogate XML documents.for information. In addition, we would want to have these programs be able to change the content and structure of an XML document (based on for description of what the form of the document should be – see XML schema).
The Document Object Model (DOM) provides a programming interface to an XML document. The D:OM specifies operations (methods) that can be done on the XML document by a computer program.
&lt;number&gt;
WAP – Wireless Application Protocol – is an open standard for delivery and presentation of wireless information and telephony services on wireless devices (cellular phones, pagers, PDAs, terminals). WAP is managed by the WAP Forum, a consortium of over 200 wireless device manufacturers representing over 100 million subscribers worldwide.
Through WAP servers and gateways, WAP supports Handheld digital wireless devices such as mobile phones, pagers, two-way radios, smartphones and communicators -- from low-end to high-end. WAP is designed to work with most wireless networks such as CDPD, CDMA, GSM, PDC, PHS, TDMA, FLEX, ReFLEX, iDEN, TETRA, DECT, DataTAC, Mobitex. WAP is a communications protocol and application environment. It can be built on any operating system including PalmOS, EPOC, Windows CE, FLEXOS, OS/9, JavaOS etc. It provides service interoperability even between different device families.
The WAP specification includes Wireless Markup Language (WML) based on XML that is designed to enable powerful information applications within the constraints of handheld devices and wireless terminals.
&lt;number&gt;
The WAP specification provides all of the features needed to support efficient wireless information exchange, thus addressing the constraints of a wireless network.
The WAP standard is both air interface and device independent. This means that applications developed for one standard can operate on a wide variety of devices that implement the WAP specification.
WAP employs a lightweight protocol stack to minimize bandwidth requirements and at the same time optimizes standard WWW protocols such as HTTP.
A microbrowser specification analogous to a web browser controls the user interface. The microbrowser spec has been designed for wireless handsets so the resulting code will be compact and efficient, yet provide a flexible and powerful user interface. Capabilities such as a push mechanism are provided to alert the subscriber to time sensitive information changes (e.g., stoke market quotes).
The WAP programming model closely follows the WWW development model. The specification employs the Wireless Markup Language or WML. WML is a tag-based document language specified as an XML document type. Thus, Web developers will find it easy to develop WAP applications since existing XML authoring tools as well as many HTML development environments can be used to develop WML applications. Using XSL, content written in XML can be automatically translated into content suitable for either HTML or WML
WML documents are divided into a set of well-define units of interaction called “cards”. Services are created by letting users navigate back and forth between cards. The QWERTY keyboard or mouse is not assumed; the user interface supports use of the keypads found on handheld devices.
WML allows the use of icons and bitmapped graphics for devices that support them. One application will work equally well on a phone with or without graphics by offering alternate text to the phone that is not capable of displaying images. These type of features support eh “write once, use anywhere” paradigm.
XML supports enterprise application integration by allowing diverse systems to interoperate through XML documents. This type of integration is called “loose coupling.” Loose coupling through “messaging” is typically easier to achieve than program based interfaces (tight coupling) in distributed, diverse environments. The World Wide Web and interactions between coalition partners are examples of environments where loose coupling provides benefits.
&lt;number&gt;
XML exposes (some of) the meaning (semantics) behind information. This is called self describing information. However, there is room for confusion or misreading since many terms have different meanings depending on their community of use. Thus while tagging information is a step in the right direction, tagging alone doesn’t guarantee that the information while be used as intended by the process that produced it.
We could try to obtain agreement on a standardized set of tags. Such attempts at standardization have not worked in the past. We could also attempt to standardize tagging conventions within communities of interest. For example, have the business community agree to a particular tag set.to be used in business documents and processes.
At the other extreme we could allow people and systems to use whatever tags they want provided they somehow explain what the tags mean or represent. Those “explanations” might be used to translate between documents based on different tag sets.
Various business communities are working towards common vocabularies (tags and schema) and business practices. Ontology.org provides a common business library.
RosettaNet is a consortium of major Information Technology, Electronic Components and Semiconductor Manufacturing companies working to create and implement industry-wide, open e-business process standards. These standards form a common e-business language, aligning processes between supply chain partners on a global basis.
Metadata (or data about data) provides additional detail (definitions, structure) about data and information. Metadata assists in making the correct (intended) interpretation of data. Metadata helps ensure that information will be used properly (as intended).
Metadata has often been implicit or embedded in procedures, standards documents, or conventions. A good example is a person’s postal address. We (generally) use 3 lines – name, street address, city/state/zip code – in that order. Consequently an address of:
First Street
Commerce Bank
Hampton, VA 23665
Would be interpreted as an organization with the name of First Street located on a street called Commerce Bank in the City of Hampton, VA. This typically would be viewed as a mistake by a human. However, an automated process depending on programmed logic may add the organization First Street to its mailing list!
On the other hand, there may actually be an organization with the name of First Street and there may be a Commerce Bank street in Hampton, VA. Additional metadata, such as a list of street names in Hampton, VA could be consulted (via programmed logic) to address this issue.
A DTD supplies typing and structural information about XML documents. By interrogating the DTD, a process extracts details about the content and structure of the XML document. For example, the process could determine that the XML document is not organized properly. The process may then send the document back to have errors corrected.
Of particular value is typing information about elements. This allows processes to interpret the content of the XML document. Thus, a rich typing environment is to be preferred. However, the typing ability with DTD’s is rudimentary. We need something better than DTD’s to support automated processing.
As with DTD’s, XML schema provides metadata about the content and organization of XML documents. XML schemas are written in XML and provide a rich typing facility. This is often described in programming lingo as “user defined types.”
Note how the schema definition gives EXPLICIT details about the content and structure on the XML document. Included are (data) element definitions and typing information. The structure of the XML document is laid out in the schema.
The definition of an XML schema leads to the definition of an XML NAMESPACE, which is referenced bya URI. The specified namespace also appears in the XML instance document. Thus the XML schema pertaining to the XML instance document can be retrieved for use in processing (understanding) the XML instance document.
XML schema provides semantic information to understand and use the content of an XML instance document.
The XML schema can be used to “direct” the generation of an XML document. The schema guides the word processor of WSYIWYG editor prompting the human as to what information to supply in which portion of the document. This technique can also support the “automatic generation” of XML messages, say from a database. The generated document can be “validated” during (or after) the process against the schema.
At the receiving end, the schema is used to both verify that the received message is valid and to guide the extraction of the contained information. Additional processing to manipulate the extracted information can be accomplished using a rules-based translator, such as an XLST engine operating against a style sheet. This information can be presented to the user or to an application.
Due to the diverse way that we communicate and build automated systems, XML does not solve all interoperability problems.
But XML is a big step towards the goal of system interoperability. It forces users and developers to focus on the management of information. XML provides tools that can be used to enable diverse distributed systems to share information and interoperate.
These are just a few of the web sites that provide information about XML.
&lt;number&gt;
Adding tags to data to turn it into structured information involves some trade-offs. The same tags that add improved data processing and searching capabilities lead to increases in the size of the information object.
However, compared to graphics, images, and video, the “size” of XML documents attributable to the tags is not large. The increased information capability more than makes up for the increased size.
However, increased object size can be a problem in certain applications, such as with wireless devices. In these cases, increased size can be addressed by:
A variety of compression techniques
Finer granulation information transactions enabled by precision tagging and special wireless protocols
Current research is investigating the best compression techniques to use depending on the application.
XMill was developed at UPenn and AT&T, and it has a simple command interface. They have Win32 and Unix executables and their source is available. Here are some stats, showing file sizes (XMI is compressed XML file) based on some sample ATOs:
MTF XML XMI
11k 166k 7k
19k 213k 11k
17k 297k 5k
101k 1862k 15k
145k 2645k 22k
XMill is a new tool for compressing XML data efficiently. It is based on a regrouping strategy that leverages the effect of highly-efficient compression techniques in compressors such as gzip. XMill groups XML text strings with respect to their meaning and exploits similarities between those text strings for compression. Hence, XMill typically achieves much better compression rates than conventional compressors such as gzip.
Defense Engineering Research Agency (UK) has achieved significant compression of XML-MTF. A 134KB MXL-MTF was compressed to 1.6KB.
&lt;number&gt;
UN/CEFACT = UN Center for Trade Facilitation and Electronic Business.
Ontologies establish a joint terminology between members of a community of interest. These members can be human or automated agents.
Topic Maps: A collection of topics (resource that acts as a proxy for some subject), associations (relations between topics), or scopes (topic’s context) See www.topicmaps.org.
XML Topic Maps (XTM): This specification provides a model and grammar for representing the structure of information resources used to define topics, and the associations (relationships) between topics. Names, resources, and relationships are said to be characteristics of abstract subjects, which are called topics. Topics have their characteristics within scopes: i.e. the limited contexts within which the names and resources are regarded as their name, resource, and relationship characteristics. One or more interrelated documents employing this grammar is called a “topic map.”
TopicMaps.Org is an independent consortium of parties developing the applicability of the topic map paradigm [ISO13250] to the World Wide Web by leveraging the XML family of specifications.
This specification describes version 1.0 of XML Topic Maps (XTM) 1.0 [XTM], an abstract model and XML grammar for interchanging Web-based topic maps, written by the members of the TopicMaps.Org Authoring Group. More information on XTM and TopicMaps.Org is available at http://www.topicmaps.org/about.html.