Chapter 2 XML, XML Schema, XSLT, and XPath

Size: px
Start display at page:

Download "Chapter 2 XML, XML Schema, XSLT, and XPath"

Transcription

1 Summary Chapter 2 XML, XML Schema, XSLT, and XPath Ryan McAlister XML stands for Extensible Markup Language, meaning it uses tags to denote data much like HTML. Unlike HTML though it was designed to carry data, not to display it. XML is used to structure, store and transport data. Some of the extensions for XML help with this. The three we are going to look at are XML Schema, XSLT and XPath. XML Schema gives us a way to validate if a XML document follows a specific structure. XSLT gives us a way to convert XML documents into different formats. XPath gives us a way to extract data from XML documents in an easy format. Introduction XML and the standard extensions give us a way to design documents in a way that helps us work with data. Usually XML is used in conjunction with HTML. XML keeps all the data in a separate file that an HTML document can read and display. This is helpful if you need to display data that is constantly changing. Without XML we would have to edit the HTML every time the data changed. With XML we just keep the data in a separate file then have the HTML read it from there keeping it updated. XML Schema is used to describe the structure of XML documents. We do this by describing what elements and attributes can appear in the document. Elements are used to give a name and a type to describe and define the data contained in that instance. These are much like variables in programming languages. Attributes allow us to describe an element even further. Once we build our schema, we can then use it to validate XML documents, making sure they are in the format we want. XPath gives us a way to traverse XML documents and pull certain pieces of data out of the document. It works by taking an expression and returning the data that matches the location or locations described by the expression. We can then use this information in many different ways. XSLT allows us to transform our XML documents into other XML documents, HTML or XHTML. This works by creating a XSL Style Sheet which we will use to describe how to transform the different elements in the XML document. Then, we link the XSL Style Sheet with a XML Document. It will then transform the data and give us a new document and leave the old document unchanged. This is especially helpful if we wanted to only transform some of the data into one document, and then transform the part we did not use into another document. XML - Extensible Markup Language XML is an application of SGML (Standard Generalized Markup Language), a powerful markup language specified in the mid-1980s. XML was developed in 1996 and became a W3C Recommendation in W3C is the World Wide Web Consortium, the main standards organization of the Web.

2 XML documents are used in a variety of ways, but their main usage is to store and structure data to be used by other formats. XML draws many comparisons to HTML, because they are both markup languages, but they are used for different things and are generally used in conjunction with each other. XML is built to store data in an efficient way, not to display data. HTML is used to display data, but it is not adept at storing data. Usually XML is used to store the data and HTML pulls the data out of the XML file and displays it. This is helpful because the data in the XML document can change and the HTML file does not need to be adjusted. XML Basics If we look at the XML document in Figure 1.1 to the right, the first thing we will notice is that it looks very similar to HTML. This is because they are both markup languages and both use tags to describe the data present. There are a few key differences that we will discuss that makes XML different from HTML. The main difference we will look at is that XML allows the use of user defined tags, whereas HTML only allows for the user to use predefined tags. Figure 1.1: An Example of a XML Document The usage of user defined tags allows us to describe the data in any way see fit. This also allows the data to become not just machine readable, but also easily read by humans. Let us take a closer look at what this example. The first line is the XML declaration. It defines what XML version we are using in this case version 1.0. The next line describes the root element of the document. Here we are saying it is a note. The next 3 lines are the child elements of the root element, which we use describe the contents of the note. The final line defines the end of the root element. This just says that our note is finished. As you can see this makes it very easy for humans to read, because all the tags are descriptive enough to describe what is contained within them. Looking at this we can easily discern that this is a note, to a student, from a teacher, telling the student that there is a test next Tuesday. Through the use of tags, a machine can also be able to describe it in a way that is useful. For example, if we only needed the body of the note, a machine could easily look in the note root element for the <body> child element and return what is inside that element.

3 Figure 1.2: Another example XML Document XML is not just for small datasets, we can apply the same principles we used for the note and create much larger datasets. For example, what if we wanted to create an XML document detailing all the computers in an computer lab. Say we wanted to know the computer's name, whether it is a Mac or PC, and the date it was purchased. Our root element would be <computerlab>, and it would be populated by child elements of <computer>. Figure 1.2 shows how this XML document would be formatted. In the example, we only list 3 computers, but we could continue to add <computer> elements for every computer in a large computer lab. The things to take away from this are relatively simple. Firstly, XML is a markup language, much like HTML, used to store data as opposed to displaying it. Secondly, that it allows for user defined tags that can be much more descriptive and easier to read. Lastly, that it is not just for small datasets but very large ones as well. XML Schema There are many Schemas out the for XML, but for the purpose of this text we will be describing the first one recommended by the W3C. XML Schema is a way for us to define how to build an XML document. We do this by describing what elements should be present, where in the document they are located, and what attributes they have. From there, we can build a document to the specifications laid out in our schema. We can also test a document against our schema to determine if it is a valid match or not.

4 The syntax of XML Schema Figure 1.3: Example of XML Schema Before we look at how to use an XML Schema, we need to first view the different pieces of the schema. If we take a look at Figure 1.3, we can see a XML Schema for our example from Figure 1.1. Looking at the first line we see a definition for a element called note with no type specified. There is no type specified in the element definition because the next line defines the note element as a complex type. A complex type is mainly used when an element will contain other elements. The next line is <xs.sequence> this simply means that the child elements follow this line must appear in the order that is in the schema. There is also <xs.all> and <xs.choice> that could be placed here instead. <xs.all> means that all the elements must be present, but in no particular order. <xs.choice> means that either one element or another can occur. The next 3 lines are definitions for the child elements. These are simple elements that only have a name and a type. The Figure 1.4: Common Data Types for Schemas most common types are listed in Figure 1.4. Then, we just close out the tags for the remaining open tags. There are many different data types available to use in XML Schema, but the most common ones are listed in Figure 1.4. These types are just used to describe what should be contained the element. "xs.string" for example should be used when the element will hold text data, such as a name or website address. This is why in the schema created in Figure 1.3 we used "xs.string" as our type. If we decided to add a date to our note element though, we would use "xs.date" for the type.

5 How to use XML Schema Now we can talk about how we can use a schema to help us create our XML documents. A schema describes what must be in an XML document. Looking at Figure 1.3, we can determine that we must have a note element that has 3 child elements: to, from, and body, in that specific order. Then, when we go to build our document we know that it must contain those elements to be considered a valid document. If it does not, then it is considered an invalid document. On the first row of Figure 1.5, we see the schema from Figure 1.3 and the XML document from Figure 1.1. Notice that all the elements are in the right place and the right order so we have a valid document. In the second row, we added a date element and swapped the first and second child elements. This gives us an invalid document, because the first two child elements do not Figure 1.5: A valid and invalid document according to their given schemas If we wanted to fix the invalid document, it is fairly easy to do. The first thing we would have to do is swap the to and from rows in our document. This eliminates one of our errors, but our document is still invalid because it is missing the date element. All we need to do in order to

6 fix that is add a date line in our document. Now we have a valid document we can use with the schema, as shown in Figure 1.6. Why we should use XML Schema Figure 1.6: The invalid document is now valid Now that we know what a schema is, why should we use it? There are three reasons we should use them. The first reason to use a schema is it allows us to determine quickly if the data is correct. Just like the example in Figure 1.5, by comparing the documents to the schema we were easily able to tell that the first document was correct, and that the second was incorrect. This enables us to quickly find our errors and correct them. For a much larger dataset than the one in the example, this becomes extremely helpful. Imagine if we forgot to add the date on one note element out of If we did not have the schema present, we would have to check each element on its own, which can take up a large amount of time. Having a schema present, we would be able to quickly tell where our error was and could fix it in a fraction of the time. It may take a while to set up a schema first, but it will save a lot of time in the long run. The next reason for using a schema is it allows us to easily describe the allowable data. Once again looking at Figure 1.6, we can easily describe a note as a complex element that has four simple elements: from, to, body and date. If someone wants to use our note element, they can quickly know what elements need to be present and what type they are. Then, our notes can become compatible and could be placed in the same database and all of them would have the same format. The last reason for using a schema is it allows us to restrict the data present in our documents. By defining what type is present in each element, we know exactly what will be in those elements. This ensures that someone cannot place a name where a price should go. This gives us greater control of the data present and continues to give us ways to detect errors in our documents. The main points out of this to remember are: how to build the schema, what having a schema does, and why we should use them. We build schemas by describing the elements and types that should be present in the XML document. We do this by building a list of all the elements present. Having a schema allows us to quickly validate a document to make sure all elements are there and in the right format. We should use schemas to allow us to have greater

7 control over our data and to keep it in a format that is easily read and understood by both machine and humans. XPath XPath is the language we use to find information in XML documents. It uses expressions to select a node, or multiple nodes, based on a given criteria. Nodes and elements are synonymous within an XML document. This works by comparing the criteria given in the XPath against the elements, and for all matches it returns them, all others are ignored. This becomes useful for selecting given elements when using XSLT to create new documents from data contained in a separate document. Once again we take a look at our note element to further explain nodes. The element <note> is considered our root node, because it is the root element of the document. Then <to>, <from>, and <body> are all considered both element nodes and child nodes. They are child nodes because they are children of the <note> element node. The opposite is also true, the <note> node is considered a parent node for the <to>, <from>, and <body> nodes. The Syntax of XPath Figure 1.7: Our <note> element With XPath we can write expressions in order to select any node or nodes in this document. We can select the entire <note> element, or we can select just parts of the element that we wanted. For example, if we wanted to just know who the note was going to, we could use an expression to select only that part of the element. The expression would Operator / Description Child have to show that first we want to first select the <note> // Any Depth element. The next part of the expression would then. Current node describe that we only want the <to> element. The expression we would end up with is: /note/to... Parent of current node * Wildcard Before we get into our next example, let us take a look at some of the syntax for XPath. In Figure 1.8, we Figure 1.8: Sample of Operators in XPath describe the most important syntax for creating an expression. The first operator (/) will simply tell the expression that we want the child element of whatever is on the left side of the operator. The following operator (//) will be used to select an element, or elements, at any depth. We would use this when we want to select a node, or nodes, that could be in either child nodes, grandchild nodes, or even further than that. The third operator (.), is used to select the current node. The next operator (..) will be used to select the parent of the current node. The final operator (*) is used as a wildcard. This can be used to select all child nodes, or even all nodes in a document depending on where it is used. These are just a fraction of the operators available in XPath, but they are the most important ones to know.

8 Now we have the basics of syntax and what a node is, we will look at a more complex example. For this, we are going to use the computer lab element we used earlier in the chapter. The <computerlab> element is our root element. Our root element then has three child elements that are each a <computer> element. Then each of the <computer> elements has three more simple elements: <name>, <os>, and <purchased>. In the next section, we will go over some more complex expressions and how they work. XPath Expressions Figure 1.9 : The <computerlab> element Looking at Figure 1.10, we can see a list of expressions on the right and the nodes the expressions select on the left. It is important to note here that there are multiple ways to write an Figure 1.10: Example demonstrating and expression and the nodes it selects expression and using the correct expression is crucial. The first expression is quite simple in that all it does is select the root element. The next two expressions, while they end up selecting the same nodes, find the nodes in different ways. The expression "/computerlab/computer" will only select <computer> elements that are children of the <computerlab> element. The other expression, "//computer" selects all <computer> elements anywhere in the document. This means

9 that if we had any <computer> elements outside of the <computerlab> element, then the first expression would not select them, but the second expression would. The last three expressions work in a similar fashion. While the first expression will only select <os> elements that are children of a <computer> element, the second expression will select any <os> element in the <computerlab> element, and the third expression will select all <os> elements in the document. It may not seem useful to have so many ways to select the same information, but it actually comes in handy quite frequently. For example, if instead of <computerlab> only having <computer> child elements it had <computer> and <notebook> elements. When selecting <os> elements, the first expression allows us to restrict the selection to only <computer> elements, and the second and third expressions would give us a list of all the <os> elements in both the <computer> and <notebook> elements. In the next example, we will look at other ways to further restrict our selection by applying filters to our expressions. Figure 1.11: Example of more complex expressions and the nodes they select As we can see from Figure 1.11, we can write more complex expressions to help us define what we are searching for. The first expression "/computerlab/computer[1]" uses the [1] to filter the selection to only the first <computer> element under <computerlab>. We could replace the 1 with any other number to get the matching element under <computerlab>. The second expression works in a similar manner using [last()] to select only the last <computer> element in <computerlab>. The third expression "/computerlab/computer[os="mac"]" also uses this same principle to select only the <computer> whose <os> element is equal to "Mac". The final example shows that we can select a child element after narrowing the parent element down with a filter. In this case, we want only want to know the name of any computer that was purchased before 2012.

10 Benefits of XPath So why should we use XPath to retrieve the data we need? The answer is quite simple--- it saves time. Without XPath as an option, we would have to search through all the elements by hand and compile a list manually. On small documents this would not be much of an issue, but on much larger documents with thousands of elements, it becomes essential to have a way to compile a list quickly and efficiently. Also, the syntax is relatively simple which allows us to write an expression to select the data we need in mere seconds. XPath also has the benefit of allowing us to work with dynamic data easily. If we did not use XPath, we would have to change data not only in the original XML document, but also every place that data is referenced. This could lead to many problems if all the references were not changed accordingly. However, with XPath, we are able to write an expression that will help us keep all our data up to date so we do not have to worry about keeping up with every reference, as long as our expressions are correct. To reiterate, XPath is an extremely helpful tool that allows us to select specific elements of a XML document. We do this by creating both simple and complex expressions, depending on our needs. It also has the benefits of saving us time and making working with dynamic data that much easier. Extensible Stylesheet Language (XSLT) XSLT, or Extensible Stylesheet Language, is a powerful tool we have that allows us to transform our XML documents into other XML documents, HTML, and other formats. Transforming an XML document into another XML document is helpful if we want a document with only parts of the original. This also has the advantage of leaving the original document unchanged. This allows us to use the same data in many different references. We know that XML is useful for storing data but does not do a good job at displaying data. One of the other main uses for XSLT enables us to fix that problem. By allowing us to transform a XML document into HTML or XHTML, we are then able to display the data in a more readable manner. This enables many places to store data in XML documents, and then use XSLT to transform it into HTML to be viewed as a webpage. Before we start looking into how XSLT transforms documents, remember that XML and HTML are markup languages. Both use tags to denote data, but the difference is XML has user defined tags, while HTML has predefined tags. This means that XSLT needs to change our user defined tags into equivalent tags in HTML. How XSLT Transforms Data The way XSLT transforms the tags from one to the other is through the use of a Stylesheet. A Stylesheet is written by the user, and its purpose is to map the tags from our XML document into different HTML tags. For example, in our <note> element we might want to change our <to> element tag into a <p> tag if we were going to HTML. Stylesheets allow us to automate this process, so we do not have to change every tag by hand. Looking at Figure 1.12, we have a rough idea on how this process work. We need to link an XML document with an XSLT Stylesheet, and it will give us our new document. We know

11 what a XML document and an XSLT Stylesheet is, but what is inside an XSLT Stylesheet and how does it work? The answer depends on whether we are transforming to XML or to HTML. If we are transforming one XML document into another, then the Stylesheet will look very similar to an XML document. On the other hand, if we are going from XML to HTML, the document will look more like HTML. The main difference we will notice is that instead of hard coding that data into the sheet, we give it an address to pull the data from a XML document. After creating our Stylesheet, we need to link the XML document to our Stylesheet. We do this by adding a reference to the top of our document to the location of the Stylesheet. XSLT Example Figure 1.12: A Quick Look at the XSLT process What if we wanted to output our <note> example into HTML so that we could use it in a webpage? The first thing we would have to do is create the Stylesheet. We do this by first using a template match to find the <note> element. This actually uses XPath in order to select the right element. From there we start building like we would be build a HTML file. The difference is that we would take the value of the different child elements from the XML document. Once again, Figure 1.13: Our <note> element and a Stylesheet converting it into HTML

12 this uses XPath to find the correct value. This is done with the use of an XSLT function value-of. Figure 1.13 gives us a look at what a Stylesheet for <note> might look like, and Figure 1.14 shows the resulting webpage generated from our Stylesheet. Creating a Stylesheet for this element was fairly simple since the XML document only contains four elements. If we needed to create a Stylesheet on a much larger scale, it would be a nightmare to tell the Stylesheet where to find each individual element. Luckily, XSLT has functions that can help in that regard. One of the most important ones is the ability to loop through each element present and apply the same template to each. The XSLT element for this is called the <for-each> element, and is done much like a for loop in most programming languages. We could use this for our <computerlab> element. We would have it loop through each <computer> adding the value of the <name>, <os>, and <purchased> into an HTML or XML file. XSLT has a few other elements worth mentioning. The first is the <sort> element. Adding this function to the for-each element and specifying the element to sort by will sort the output by the element you choose. The next is the <if> element. This allows us to add only elements that pass the conditional statement in the <if> element. For example, this would enable us to add only <computer> elements whose <os>="pc". The last one is the <choose> element. This works much like an if-then statement, where if it passes the test, it will do one thing, and if it fails it will do another. For our <computerlab> element, we could use this to make PC's one color and then make Mac's another color to easily differentiate between them. As we can see, XSLT is a very handy tool. Through the use of Stylesheets we are able to transform a XML document into different forms. Through the different element XSLT provides we can make a Stylesheet quickly, and adjust it to every situation. Once we have a Stylesheet, we can then take our data out of XML document into HTML so that it can be displayed in a more readable format. Conclusion Figure 1.14: Results of our Stylesheet XML is a powerful tool that we can use to store data. Through the use of user-defined tags we can make it much more descriptive than HTML. This also makes it easier for humans to read, but still allows machines to quickly understand it as well. Technically, XML does not do anything to the data. It simply stores it. Through the use of some very powerful extensions we can actually do things with that data. XSchema gives us a way to describe the structure of our data. When using a schema, we can quickly develop a format and then, later check the correctness of our data against the format we created. Using a schema also allows us to describe the data allowed in the document in a descriptive manner. This way we can look at a schema and determine exactly what elements this document needs to have in order to be correct. Once we determine the data is correct, we can then begin to use the data.

13 XPath is how we begin to access the data in our XML document. With XPath, we have a way to select specific pieces of data from a document. Using expressions, we can select all of a given element, or narrow down the selected elements by placing restrictions. Once we find the information, it is normally passed on to another extension, like XSLT, in order to be processed. XSLT is used to transform an XML document to another XML document or other formats like HTML. It accomplishes this task through the use of Stylesheets. Stylesheets allow the user to create a template that is used to convert the file. By converting a XML document into HTML, it allows us to display the data. This way we can share the data inside the XML document with the world. References [1] XML Tutorial, accessed: 04/17/2014 [2] XML Schema Tutorial, accessed: 04/17/2014 [3] XPath Tutorial, accessed: 04/18/2014 [4] XSLT Tutorial, accessed: 04/19/2014 [5] Understanding XML Schema, msdn.microsoft.com/en-us/library/aa aspx, accessed: 04/20/2014 [6] Practical XML: Parsing, accessed: 04/19/2014 [7] XPath Reference, msdn.microsoft.com/en-us/library/ms256115(v=vs.110).aspx, accessed: 04/18/2014 [8] Markup Language Definition, accessed 04/16/2014 [9] Transforming XML Data with XSLT, docs.oracle.com/javaee/1.4/tutorial/doc/jaxpxslt6.html accessed: 04/23/2014

Software Architectures: Case Studies

Software Architectures: Case Studies Software Architectures: Case Studies Authors: Students in Software Architectures course Computer Science and Computer Engineering Department University of Arkansas May 2014 Table of Contents Chapter 1

More information

S emistructured Data & XML

S emistructured Data & XML S emistructured Data & XML Database Systems, A Practical Approach to Design, Implementation and Management (Connolly & Begg, Ch. 29) XML Bible (Harold, Ch. 1) S lide:1 14/04/04 1 Overview Semistructured

More information

M359 Block5 - Lecture12 Eng/ Waleed Omar

M359 Block5 - Lecture12 Eng/ Waleed Omar Documents and markup languages The term XML stands for extensible Markup Language. Used to label the different parts of documents. Labeling helps in: Displaying the documents in a formatted way Querying

More information

Web Services Week 3. Fall Emrullah SONUÇ. Department of Computer Engineering Karabuk University

Web Services Week 3. Fall Emrullah SONUÇ. Department of Computer Engineering Karabuk University Web Services Week 3 Emrullah SONUÇ Department of Computer Engineering Karabuk University Fall 2017 1 Recap XML, Writing XML Rules for Writing XML Elements, Attributes, and Values XSL, XSLT 2 Contents Homework

More information

XSL Languages. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or color, is easy with CSS.

XSL Languages. Adding styles to HTML elements are simple. Telling a browser to display an element in a special font or color, is easy with CSS. XSL Languages It started with XSL and ended up with XSLT, XPath, and XSL-FO. It Started with XSL XSL stands for EXtensible Stylesheet Language. The World Wide Web Consortium (W3C) started to develop XSL

More information

The main Topics in this lecture are:

The main Topics in this lecture are: Lecture 15: Working with Extensible Markup Language (XML) The main Topics in this lecture are: - Brief introduction to XML - Some advantages of XML - XML Structure: elements, attributes, entities - What

More information

Informatics 1: Data & Analysis

Informatics 1: Data & Analysis Informatics 1: Data & Analysis Lecture 9: Trees and XML Ian Stark School of Informatics The University of Edinburgh Tuesday 11 February 2014 Semester 2 Week 5 http://www.inf.ed.ac.uk/teaching/courses/inf1/da

More information

XML. Jonathan Geisler. April 18, 2008

XML. Jonathan Geisler. April 18, 2008 April 18, 2008 What is? IS... What is? IS... Text (portable) What is? IS... Text (portable) Markup (human readable) What is? IS... Text (portable) Markup (human readable) Extensible (valuable for future)

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2411 1 Extensible

More information

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University

Manipulating XML Trees XPath and XSLT. CS 431 February 18, 2008 Carl Lagoze Cornell University Manipulating XML Trees XPath and XSLT CS 431 February 18, 2008 Carl Lagoze Cornell University XPath Language for addressing parts of an XML document XSLT Xpointer XQuery Tree model based on DOM W3C Recommendation

More information

Introduction to XML. XML: basic elements

Introduction to XML. XML: basic elements Introduction to XML XML: basic elements XML Trying to wrap your brain around XML is sort of like trying to put an octopus in a bottle. Every time you think you have it under control, a new tentacle shows

More information

User Interaction: XML and JSON

User Interaction: XML and JSON User Interaction: XML and JSON Asst. Professor Donald J. Patterson INF 133 Fall 2011 1 What might a design notebook be like? Cooler What does a design notebook entry look like? HTML and XML 1989: Tim Berners-Lee

More information

COMP9321 Web Application Engineering. Extensible Markup Language (XML)

COMP9321 Web Application Engineering. Extensible Markup Language (XML) COMP9321 Web Application Engineering Extensible Markup Language (XML) Dr. Basem Suleiman Service Oriented Computing Group, CSE, UNSW Australia Semester 1, 2016, Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2442

More information

User Interaction: XML and JSON

User Interaction: XML and JSON User Interaction: and JSON Asst. Professor Donald J. Patterson INF 133 Fall 2010 1 What might a design notebook be like? Cooler What does a design notebook entry look like? HTML and 1989: Tim Berners-Lee

More information

What is XML? XML is designed to transport and store data.

What is XML? XML is designed to transport and store data. What is XML? XML stands for extensible Markup Language. XML is designed to transport and store data. HTML was designed to display data. XML is a markup language much like HTML XML was designed to carry

More information

XML. Objectives. Duration. Audience. Pre-Requisites

XML. Objectives. Duration. Audience. Pre-Requisites XML XML - extensible Markup Language is a family of standardized data formats. XML is used for data transmission and storage. Common applications of XML include business to business transactions, web services

More information

> Semantic Web Use Cases and Case Studies

> Semantic Web Use Cases and Case Studies > Semantic Web Use Cases and Case Studies Case Study: Improving Web Search using Metadata Peter Mika, Yahoo! Research, Spain November 2008 Presenting compelling search results depends critically on understanding

More information

User Interaction: XML and JSON

User Interaction: XML and JSON User Interaction: XML and JSON Assoc. Professor Donald J. Patterson INF 133 Fall 2012 1 HTML and XML 1989: Tim Berners-Lee invents the Web with HTML as its publishing language Based on SGML Separates data

More information

Personal Information Manager Overview & Installation Guide

Personal Information Manager Overview & Installation Guide Personal Information Manager Overview & Installation Guide Intended Audience This article and starter kit are aimed at medium and advanced level Backbase developers. It is assumed that you already have

More information

XML and information exchange. XML extensible Markup Language XML

XML and information exchange. XML extensible Markup Language XML COS 425: Database and Information Management Systems XML and information exchange 1 XML extensible Markup Language History 1988 SGML: Standard Generalized Markup Language Annotate text with structure 1992

More information

XML Introduction 1. XML Stands for EXtensible Mark-up Language (XML). 2. SGML Electronic Publishing challenges -1986 3. HTML Web Presentation challenges -1991 4. XML Data Representation challenges -1996

More information

Structured documents

Structured documents Structured documents An overview of XML Structured documents Michael Houghton 15/11/2000 Unstructured documents Broadly speaking, text and multimedia document formats can be structured or unstructured.

More information

Introduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University

Introduction to XML. Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML

More information

MadCap Software. Index Guide. Flare 2017 r2

MadCap Software. Index Guide. Flare 2017 r2 MadCap Software Index Guide Flare 2017 r2 Copyright 2017 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document

More information

Introduction to XML 3/14/12. Introduction to XML

Introduction to XML 3/14/12. Introduction to XML Introduction to XML Asst. Prof. Dr. Kanda Runapongsa Saikaew Dept. of Computer Engineering Khon Kaen University http://gear.kku.ac.th/~krunapon/xmlws 1 Topics p What is XML? p Why XML? p Where does XML

More information

Introduction to XML. Chapter 133

Introduction to XML. Chapter 133 Chapter 133 Introduction to XML A. Multiple choice questions: 1. Attributes in XML should be enclosed within. a. single quotes b. double quotes c. both a and b d. none of these c. both a and b 2. Which

More information

High Performance Computing Prof. Matthew Jacob Department of Computer Science and Automation Indian Institute of Science, Bangalore

High Performance Computing Prof. Matthew Jacob Department of Computer Science and Automation Indian Institute of Science, Bangalore High Performance Computing Prof. Matthew Jacob Department of Computer Science and Automation Indian Institute of Science, Bangalore Module No # 09 Lecture No # 40 This is lecture forty of the course on

More information

Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013

Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013 Extensible Markup Language (XML) Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline Introduction XML Structure Document Type Definition (DTD) XHMTL Formatting XML CSS Formatting XSLT Transformations

More information

markup language carry data define your own tags self-descriptive W3C Recommendation

markup language carry data define your own tags self-descriptive W3C Recommendation XML intro What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display data XML tags are not predefined. You must define

More information

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML Chapter 7 XML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML

More information

XML: Extensible Markup Language

XML: Extensible Markup Language XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified

More information

1 Introduction. 2 Web Architecture

1 Introduction. 2 Web Architecture 1 Introduction This document serves two purposes. The first section provides a high level overview of how the different pieces of technology in web applications relate to each other, and how they relate

More information

11. EXTENSIBLE MARKUP LANGUAGE (XML)

11. EXTENSIBLE MARKUP LANGUAGE (XML) 11. EXTENSIBLE MARKUP LANGUAGE (XML) Introduction Extensible Markup Language is a Meta language that describes the contents of the document. So these tags can be called as self-describing data tags. XML

More information

Hypertext Markup Language, or HTML, is a markup

Hypertext Markup Language, or HTML, is a markup Introduction to HTML Hypertext Markup Language, or HTML, is a markup language that enables you to structure and display content such as text, images, and links in Web pages. HTML is a very fast and efficient

More information

XML Extensible Markup Language

XML Extensible Markup Language XML Extensible Markup Language Generic format for structured representation of data. DD1335 (Lecture 9) Basic Internet Programming Spring 2010 1 / 34 XML Extensible Markup Language Generic format for structured

More information

Midterm 1 Review Sheet CSS 305 Sp 06

Midterm 1 Review Sheet CSS 305 Sp 06 This is a list of topics that we have covered so far. This is not all inclusive of every detail and there may be items on the exam that are not explicitly listed here, but these are the primary topics

More information

DITA 1.3 Feature Article A Brief Introduction to XSL for Processing DITA Content

DITA 1.3 Feature Article A Brief Introduction to XSL for Processing DITA Content DITA 1.3 Feature Article A Brief Introduction to XSL for Processing DITA Content An OASIS DITA Adoption Technical Committee Publication Chunk1739435240 iii Contents Chunk1739435240 Part I What is XSL?

More information

CSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML

CSI 3140 WWW Structures, Techniques and Standards. Representing Web Data: XML CSI 3140 WWW Structures, Techniques and Standards Representing Web Data: XML XML Example XML document: An XML document is one that follows certain syntax rules (most of which we followed for XHTML) Guy-Vincent

More information

A tutorial report for SENG Agent Based Software Engineering. Course Instructor: Dr. Behrouz H. Far. XML Tutorial.

A tutorial report for SENG Agent Based Software Engineering. Course Instructor: Dr. Behrouz H. Far. XML Tutorial. A tutorial report for SENG 609.22 Agent Based Software Engineering Course Instructor: Dr. Behrouz H. Far XML Tutorial Yanan Zhang Department of Electrical and Computer Engineering University of Calgary

More information

Working with XML and DB2

Working with XML and DB2 Working with XML and DB2 What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display data XML tags are not predefined.

More information

XML 2 APPLICATION. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

XML 2 APPLICATION. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC. XML 2 APPLIATION hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: How to create an XML document. The role of the document map, prolog, and XML declarations. Standalone declarations.

More information

CLASS DISCUSSION AND NOTES

CLASS DISCUSSION AND NOTES CLASS DISCUSSION AND NOTES April 2011 Mon Tue Wed Thu Fri 4 5 6 7 8 AH-8 (individual) Chap. 12 XML 11 12 13 14 15 AH-9 (team) Quiz #2 I. GETTING STARTED COURSE OVERVIEW II. DATABASE DESIGN & IMPLEMENTATION

More information

DATA STRUCTURE AND ALGORITHM USING PYTHON

DATA STRUCTURE AND ALGORITHM USING PYTHON DATA STRUCTURE AND ALGORITHM USING PYTHON Advanced Data Structure and File Manipulation Peter Lo Linear Structure Queue, Stack, Linked List and Tree 2 Queue A queue is a line of people or things waiting

More information

Languages in WEB. E-Business Technologies. Summer Semester Submitted to. Prof. Dr. Eduard Heindl. Prepared by

Languages in WEB. E-Business Technologies. Summer Semester Submitted to. Prof. Dr. Eduard Heindl. Prepared by Languages in WEB E-Business Technologies Summer Semester 2009 Submitted to Prof. Dr. Eduard Heindl Prepared by Jenisha Kshatriya (Mat no. 232521) Fakultät Wirtschaftsinformatik Hochshule Furtwangen University

More information

Chapter 13 XML: Extensible Markup Language

Chapter 13 XML: Extensible Markup Language Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client V Application Programs Webserver V Database Server

More information

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or remote-live attendance. XML Programming Duration: 5 Days Price: $2795 *California residents and government employees call for pricing. Discounts: We offer multiple discount options. Click here for more info. Delivery Options:

More information

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,

More information

Header. Article. Footer

Header. Article. Footer Styling your Interface There have been various versions of HTML since its first inception. HTML 5 being the latest has benefited from being able to look back on these previous versions and make some very

More information

Informatics 1: Data & Analysis

Informatics 1: Data & Analysis T O Y H Informatics 1: Data & Analysis Lecture 11: Navigating XML using XPath Ian Stark School of Informatics The University of Edinburgh Tuesday 26 February 2013 Semester 2 Week 6 E H U N I V E R S I

More information

VLOOKUP() takes three mandatory parameters and one default/optional parameter:

VLOOKUP() takes three mandatory parameters and one default/optional parameter: Excel Lesson: Table Lookup Functions Topics Covered: VLookup() [Look across] HLookup() [Look down] Lookup() [Look almost anywhere] Related Functions (a list) We will not be examining all forms of these

More information

H2 Spring B. We can abstract out the interactions and policy points from DoDAF operational views

H2 Spring B. We can abstract out the interactions and policy points from DoDAF operational views 1. (4 points) Of the following statements, identify all that hold about architecture. A. DoDAF specifies a number of views to capture different aspects of a system being modeled Solution: A is true: B.

More information

Web Programming Paper Solution (Chapter wise)

Web Programming Paper Solution (Chapter wise) What is valid XML document? Design an XML document for address book If in XML document All tags are properly closed All tags are properly nested They have a single root element XML document forms XML tree

More information

Kansas State University Army ROTC Web page. Merlin Kynaston Kansas State University Manhattan, KS

Kansas State University Army ROTC Web page. Merlin Kynaston Kansas State University Manhattan, KS Kansas State University Army ROTC Web page Merlin Kynaston Kansas State University Manhattan, KS 66506 merlin.kynaston@gmail.com Abstract Web Pages can be difficult to keep up to date. Often times the

More information

Intro to XML. Borrowed, with author s permission, from:

Intro to XML. Borrowed, with author s permission, from: Intro to XML Borrowed, with author s permission, from: http://business.unr.edu/faculty/ekedahl/is389/topic3a ndroidintroduction/is389androidbasics.aspx Part 1: XML Basics Why XML Here? You need to understand

More information

XSLT: How Do We Use It?

XSLT: How Do We Use It? XSLT: How Do We Use It? Nancy Hallberg Nikki Massaro Kauffman 1 XSLT: Agenda Introduction & Terminology XSLT Walkthrough Client-Side XSLT/XHTML Server-Side XSLT/XHTML More Creative Server-Side XSLT 2 XSLT:

More information

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance.

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance. XML Programming Duration: 5 Days US Price: $2795 UK Price: 1,995 *Prices are subject to VAT CA Price: CDN$3,275 *Prices are subject to GST/HST Delivery Options: Attend face-to-face in the classroom or

More information

XML 2 APPLICATION. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

XML 2 APPLICATION. Chapter SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC. XML 2 APPLIATION hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: How to create an XML document. The role of the document map, prolog, and XML declarations. Standalone declarations.

More information

Comp 336/436 - Markup Languages. Fall Semester Week 9. Dr Nick Hayward

Comp 336/436 - Markup Languages. Fall Semester Week 9. Dr Nick Hayward Comp 336/436 - Markup Languages Fall Semester 2018 - Week 9 Dr Nick Hayward DEV Week assessment Course total = 25% project outline and introduction developed using a chosen markup language consider and

More information

XML: Managing with the Java Platform

XML: Managing with the Java Platform In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. 3. Send this assessment with the answers via: a. FAX to (212) 967-3498. Or b. Mail the answers

More information

XML Data Management. 5. Extracting Data from XML: XPath

XML Data Management. 5. Extracting Data from XML: XPath XML Data Management 5. Extracting Data from XML: XPath Werner Nutt based on slides by Sara Cohen, Jerusalem 1 Extracting Data from XML Data stored in an XML document must be extracted to use it with various

More information

1.264 Lecture 13 XML

1.264 Lecture 13 XML 1.264 Lecture 13 XML What is XML? Extensible Markup Language (XML) is: a World Wide Web Consortium (W3C) proposed recommendation for a file format to easily and cheaply distribute electronic documents

More information

Programming with XML in the Microsoft.NET Framework

Programming with XML in the Microsoft.NET Framework Programming with XML in the Microsoft.NET Framework Key Data Course #: 2663A Number of Days: 3 Format: Instructor-Led This course syllabus should be used to determine whether the course is appropriate

More information

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document. 2. W3Schools has a lovely html tutorial here (it s worth the time): http://www.w3schools.com/html/default.asp

More information

eiconsole for Healthcare Getting Started Tutorial

eiconsole for Healthcare Getting Started Tutorial eiconsole for Healthcare Getting Started Tutorial https://cms.pilotfishtechnology.com/eiconsole-for-healthcare-getting-started-tutorial Welcome to the eiconsole for Healthcare Getting Started Tutorial.

More information

eiconsole for Healthcare Getting Started Tutorial

eiconsole for Healthcare Getting Started Tutorial eiconsole for Healthcare Getting Started Tutorial http://cms.pilotfishtechnology.com/eiconsole-for-healthcare-getting-started-tutorial Welcome to the eiconsole for Healthcare Getting Started Tutorial.

More information

Semistructured Content

Semistructured Content On our first day Semistructured Content 1 Structured data : database system tagged, typed well-defined semantic interpretation Semi-structured data: tagged - XML (HTML?) some help with semantic interpretation

More information

Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1

Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1 Introduction, Notepad++, File Structure, 9 Tags, Hyperlinks 1 Introduction to HTML HTML, which stands for Hypertext Markup Language, is the standard markup language used to create web pages. HTML consists

More information

Part A: Getting started 1. Open the <oxygen/> editor (with a blue icon, not the author mode with a red icon).

Part A: Getting started 1. Open the <oxygen/> editor (with a blue icon, not the author mode with a red icon). DIGITAL PUBLISHING AND PRESERVATION USING TEI http://www.lib.umich.edu/digital-publishing-production/digital-publishing-and-preservation-using-tei-november-13-2010 Introductory TEI encoding 1 This exercise

More information

Editing XML Data in Microsoft Office Word 2003

Editing XML Data in Microsoft Office Word 2003 Page 1 of 8 Notice: The file does not open properly in Excel 2002 for the State of Michigan. Therefore Excel 2003 should be used instead. 2009 Microsoft Corporation. All rights reserved. Microsoft Office

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1 Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.

More information

B.V.Patel Institute of Business Management, Computer & Information Technology, UTU

B.V.Patel Institute of Business Management, Computer & Information Technology, UTU B.C.A (Semester 4) Teaching Schedule 030010408 exentisible Markup Language OBJECTIVE: To introduce the concept of creating, validating, parsing, formatting, transforming and linking the well formatted

More information

On the relationship between OpenMath and MathML

On the relationship between OpenMath and MathML On the relationship between OpenMath and MathML Bill Naylor Stephen Watt Ontario Research Center for Computer Algebra University of Western Ontario London Ontario CANADA N6A 5B7 {bill,watt}@orcca.on.ca

More information

Tradeoffs and Guidelines for Selecting Technologies to Generate Web Content from Relational Data Stores

Tradeoffs and Guidelines for Selecting Technologies to Generate Web Content from Relational Data Stores Tradeoffs and Guidelines for Selecting Technologies to Generate Web Content from Relational Data Stores Frank Sigvald Haug, Graduate Student Graduate Programs in Software University of St. Thomas Fshaug@stthomas.edu

More information

WYSIWON T The XML Authoring Myths

WYSIWON T The XML Authoring Myths WYSIWON T The XML Authoring Myths Tony Stevens Turn-Key Systems Abstract The advantages of XML for increasing the value of content and lowering production costs are well understood. However, many projects

More information

The XQuery Data Model

The XQuery Data Model The XQuery Data Model 9. XQuery Data Model XQuery Type System Like for any other database query language, before we talk about the operators of the language, we have to specify exactly what it is that

More information

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB By Hassan S. Shavarani UNIT2: MARKUP AND HTML 1 IN THIS UNIT YOU WILL LEARN THE FOLLOWING Create web pages in HTML with a text editor, following

More information

CSS, Cascading Style Sheets

CSS, Cascading Style Sheets CSS, Cascading Style Sheets HTML was intended to define the content of a document This is a heading This is a paragraph This is a table element Not how they look (aka style)

More information

Data Exchange. Hyper-Text Markup Language. Contents: HTML Sample. HTML Motivation. Cascading Style Sheets (CSS) Problems w/html

Data Exchange. Hyper-Text Markup Language. Contents: HTML Sample. HTML Motivation. Cascading Style Sheets (CSS) Problems w/html Data Exchange Contents: Mariano Cilia / cilia@informatik.tu-darmstadt.de Origins (HTML) Schema DOM, SAX Semantic Data Exchange Integration Problems MIX Model 1 Hyper-Text Markup Language HTML Hypertext:

More information

XML Wrap-up. CS 431 March 1, 2006 Carl Lagoze Cornell University

XML Wrap-up. CS 431 March 1, 2006 Carl Lagoze Cornell University XML Wrap-up CS 431 March 1, 2006 Carl Lagoze Cornell University XSLT Processing Model Input XSL doc parse Input XML doc parse Parsed tree serialize Input XML doc Parsed tree Xformed tree Output doc (xml,

More information

The XML Metalanguage

The XML Metalanguage The XML Metalanguage Mika Raento mika.raento@cs.helsinki.fi University of Helsinki Department of Computer Science Mika Raento The XML Metalanguage p.1/442 2003-09-15 Preliminaries Mika Raento The XML Metalanguage

More information

COMP9321 Web Application Engineering

COMP9321 Web Application Engineering COMP9321 Web Application Engineering Semester 2, 2017 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid= 2465 1

More information

Next Generation Query and Transformation Standards. Priscilla Walmsley Managing Director, Datypic

Next Generation Query and Transformation Standards. Priscilla Walmsley Managing Director, Datypic Next Generation Query and Transformation Standards Priscilla Walmsley Managing Director, Datypic http://www.datypic.com pwalmsley@datypic.com 1 Agenda The query and transformation landscape Querying XML

More information

Background of HTML and the Internet

Background of HTML and the Internet Background of HTML and the Internet World Wide Web in Plain English http://www.youtube.com/watch?v=akvva2flkbk Structure of the World Wide Web A network is a structure linking computers together for the

More information

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11 !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... 7:4 @import Directive... 9:11 A Absolute Units of Length... 9:14 Addressing the First Line... 9:6 Assigning Meaning to XML Tags...

More information

The World Wide Web is a technology beast. If you have read this book s

The World Wide Web is a technology beast. If you have read this book s What Is a Markup Language and Why Do I Care? The World Wide Web is a technology beast. If you have read this book s introduction, you should have at least a passing familiarity with how the Web started

More information

Module 10A Lecture - 20 What is a function? Why use functions Example: power (base, n)

Module 10A Lecture - 20 What is a function? Why use functions Example: power (base, n) Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute of Technology, Madras Module 10A Lecture - 20 What is a function?

More information

Part VII. Querying XML The XQuery Data Model. Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153

Part VII. Querying XML The XQuery Data Model. Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153 Part VII Querying XML The XQuery Data Model Marc H. Scholl (DBIS, Uni KN) XML and Databases Winter 2005/06 153 Outline of this part 1 Querying XML Documents Overview 2 The XQuery Data Model The XQuery

More information

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style

More information

Introduction to XML. An Example XML Document. The following is a very simple XML document.

Introduction to XML. An Example XML Document. The following is a very simple XML document. Introduction to XML Extensible Markup Language (XML) was standardized in 1998 after 2 years of work. However, it developed out of SGML (Standard Generalized Markup Language), a product of the 1970s and

More information

XML (Extensible Markup Language)

XML (Extensible Markup Language) Basics of XML: What is XML? XML (Extensible Markup Language) XML stands for Extensible Markup Language XML was designed to carry data, not to display data XML tags are not predefined. You must define your

More information

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

shortcut Tap into learning NOW! Visit  for a complete list of Short Cuts. Your Short Cut to Knowledge shortcut Your Short Cut to Knowledge The following is an excerpt from a Short Cut published by one of the Pearson Education imprints. Short Cuts are short, concise, PDF documents designed specifically

More information

W3C XML XML Overview

W3C XML XML Overview Overview Jaroslav Porubän 2008 References Tutorials, http://www.w3schools.com Specifications, World Wide Web Consortium, http://www.w3.org David Hunter, et al.: Beginning, 4th Edition, Wrox, 2007, 1080

More information

Read & Download (PDF Kindle) XML For Dummies

Read & Download (PDF Kindle) XML For Dummies Read & Download (PDF Kindle) XML For Dummies See how XML works for business needs and RSS feeds Create consistency on the Web, or tag your data for different purposes Tag -- XML is it! XML tags let you

More information

avenue.quark TUTORIAL

avenue.quark TUTORIAL avenue.quark TUTORIAL Table of Contents Table of Contents Introduction 3 Preparing to Use avenue.quark 5 Using Rule-Based Tagging 6 Viewing Extracted XML Content 12 Adding a Rule to a Tagging Rule Set

More information

Design issues in XML formats

Design issues in XML formats Design issues in XML formats David Mertz, Ph.D. (mertz@gnosis.cx) Gesticulator, Gnosis Software, Inc. 1 November 2001 In this tip, developerworks columnist David Mertz advises when to use tag attributes

More information

EXtensible Markup Language XML

EXtensible Markup Language XML EXtensible Markup Language XML 1 What is XML? XML stands for EXtensible Markup Language XML is a markup language much like HTML XML was designed to carry data, not to display data XML tags are not predefined.

More information

Jay Lofstead under the direction of Calton Pu

Jay Lofstead under the direction of Calton Pu Literature Survey XML-based Transformation Engines Jay Lofstead (lofstead@cc) under the direction of Calton Pu (calton@cc) 2004-11-28 Abstract Translation has been an issue for humans since the dawn of

More information

Understanding structure Learning about markup Tags and elements. Structure COPYRIGHTED MATERIAL

Understanding structure Learning about markup Tags and elements. Structure COPYRIGHTED MATERIAL XX XX XX Understanding structure Learning about markup Tags and elements 1 Structure COPYRIGHTED MATERIAL We come across all kinds of documents every day of our lives. Newspapers, insurance forms, shop

More information

.. Cal Poly CPE/CSC 366: Database Modeling, Design and Implementation Alexander Dekhtyar..

.. Cal Poly CPE/CSC 366: Database Modeling, Design and Implementation Alexander Dekhtyar.. .. Cal Poly CPE/CSC 366: Database Modeling, Design and Implementation Alexander Dekhtyar.. XML in a Nutshell XML, extended Markup Language is a collection of rules for universal markup of data. Brief History

More information

Quick Start Guide. CodeGenerator v1.5.0

Quick Start Guide. CodeGenerator v1.5.0 Contents Revision History... 2 Summary... 3 How It Works... 4 Database Schema... 4 Customization... 4 APIs... 4 Annotations... 4 Attributes... 5 Transformation & Output... 5 Creating a Project... 6 General

More information