xml_chapter2 - XML & UBL ACG 6415 Chapter 2 Extensible...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: XML & UBL ACG 6415 Chapter 2 Extensible Markup Language - XML Meta-Language A language that can be used to create others (vocabularies) Universal Business Language (UBL) Extensible Business Reporting Language (XBRL) Application has sets of xml documents Instance Document .xml contains the data Schema Document .xsd Describes allowed structure (data types, element names) of instance document Stylesheet .xsl Formatting instructions for data in the instance document All XML documents must be well-formed.... XML Rules A well formed document The first line of an XML document must contain the prologue . The main theme of the XML document the root element- must enclose all the other elements in the document. There can be only one root element Every element must have an opening tag <> and a closing tag </> Elements must be properly nested , that is you close the tag that was opened last think of tags as using a LIFO convention or more properly a LOFC Last Opened First Closed convention (though it doesnt have quite the same ring to it). Elements can have attributes . Attribute values are enclosed with and can have no spaces. Prolog and Comment Every XML document starts with a prolog It lets the XML enabled processor know that this is an XML document to be processed <?xml version="1.0" encoding="UTF-8"?> Comment <!-- A simplified UBL Catalogue document: SkipWhite.com, April 2008 -- > XML Concepts...
View Full Document

This note was uploaded on 08/25/2010 for the course ACG 6145 taught by Professor Hornik during the Spring '10 term at University of Central Florida.

Page1 / 17

xml_chapter2 - XML & UBL ACG 6415 Chapter 2 Extensible...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online