xbrl_ch3 - ACG 5405 XML Schemas XML Namespaces XMLink The...

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

View Full Document Right Arrow Icon
ACG 5405 XML Schemas XML Namespaces XMLink
Background image of page 1

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

View Full DocumentRight Arrow Icon
The XML Foundation Many participants – an extended family! XML documents – carry data in context Each must be parsed into its component parts XML schemas – define the rules a class of documents must follow XSLT – provide processing instructions Can be used to process XML documents XPath … XLink … XQuery … XML Processors are not designed equally!
Background image of page 2
XML Languages - Schema Instance Document Elements (tag sets) meta-data about data Schema Well-formatted XML document Defines structure and contents of Instance Document Similar to an ER-Diagram for databases Defines Each Element and Attribute Its Structure Includes Business Rules Cardinalities Used to Validate Instance Document Means Instance Document conforms to Schema Rules
Background image of page 3

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

View Full DocumentRight Arrow Icon
XML Schema .xsd extension Defines each attribute and extension Root element is a namespace <xs:schema xmlns:xs=“http:www.w3.org/2001/XMLSchema”> Define an Element: Simple contain only data Complex contain attributes
Background image of page 4
Simple Element Definition Declare Name Declare Type <xs:element name=“ID” type=“xs:string”/> Type= Defines the data type: string Integer date decimal other types
Background image of page 5

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

View Full DocumentRight Arrow Icon
Complex Element (Parent) Declares Name Declares type Declares Structure <xs:element name="Party"> <xs:complexType>
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 22

xbrl_ch3 - ACG 5405 XML Schemas XML Namespaces XMLink The...

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

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