30 likes | 190 Views
XML. What is XML? & Example of Schema (9 AM on day 2). Purpose of XML . Designed to carry data, not to display it Widely accepted as a way of structuring data. It has gained broad support across a variety of business applications
E N D
XML What is XML? & Example of Schema (9 AM on day 2)
Purpose of XML • Designed to carry data, not to display it • Widely accepted as a way of structuring data. It has gained broad support across a variety of business applications • Does not DO anything. It is simply information wrapped in tags. • Software is required to send, receive & display the data within an XML message
Example of XML • <SPSCertificate xsi:schemaLocation="urn:un:unece:uncefact:data:standard:SPSCertificate:4 http://www.unece.org/uncefact/data/standard/SPSCertificate_4p0.xsd" xmlns:rsm="urn:un:unece:uncefact:data:standard:SPSCertificate:4" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> • - <SPSExchangedDocument> • <Name>Standard Phytosanitary Export Certificate</Name> • <ID>NZL2011/EXP01/201146</ID> • <TypeCode listID="1001" listVersionID="D09B">851</TypeCode> • <StatusCode listID="4405" listVersionID="D09B">39</StatusCode> • <IssueDateTime>2011-06-01T15:52:02.4432157+12:00</IssueDateTime> • - <IncludedSPSNote> • <Subject>Certificate Sub Type</Subject> • <ContentCode /> • <Content>Logs- Forestry</Content> • </IncludedSPSNote> • - <IncludedSPSNote> • <Subject>Organisation Certificate Reference Code</Subject> • <ContentCode /> • <Content>CFR502B</Content> • </IncludedSPSNote> • - <IncludedSPSNote> • NZ has a phyto XML Schema & data map available!