



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Announcements Exam Review next time. Come prepared to ask questions. Discuss homework status. Chapter 13 Let's say that you have a big organization, and you want to share DB data with your suppliers to automate delivery of new products. So, transactions from your invoice DB need to be sent to the various suppliers, and loaded as transactions in their DB. How might you go about doing this? What should the extracted data look like? XML XML (extensible Markup Language)
In this example, the data conforms to the DTD โ it is said to be type-valid. If the data did not conform to the DTD it would be type-invalid. It could still be an XML document: for example, if there were two s. More typically, the DTD is stored separately from the data. In this case, the !DOCTYPE definition includes a reference to the file that contains the DTD, like this:
See Example.xml and customerlist.dtd. The advantage of this is that lots of documents can use the same DTD. What happens if we try to look at the above document in a browser? Well, depending on the browser, different things will happen, but usually you'll see the structure of the document. XSLT HTML tags also describe how a document should be materialized or formatted. XML document does not include this. With XML, there is a separate part that does this: XSLT (Extensible Style Language: Transformations). XSLT is transformation language that can be used to convert an XML document into another form: