Outline IS400: Development of Business Applications on the

Outline IS400: Development of Business Applications on the

Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic XML XML (Extensible Markup Language) Derived from Standard Generalized Markup Language (SGML) Open technology for electronic data exchange and storage Create other markup languages to describe data in structured manner XML documents Contain only data, not formatting instructions Highly portable, needs only an XML parser (built-in in IE, other browsers)

Document Type Definition (DTD, schema) XML document can reference another that defines proper structure XML-based markup languages XML vocabularies XML Vocabularies XSL (Extensible Stylesheet Language) MathML (Mathematical Markup Language) SVG (Scalable Vector Graphics) WML (Wireless Markup Language) XBRL (Extensible Business Reporting

Language) Chemical Markup Language (CML) Really Simple Syndication (RSS) XML Namespaces XML allows document authors to create custom elements Possible problem of Naming Collisions In an airline industry document: 100 may refer to number of passengers allowed in an airplane In office equipment industry: 100 may refer to number of sheets that can be fed in a printer/copier What if a document is created that contains information about both items Solution: XML namespace: (see the Namespace tutorial) Collection of element and attribute names Uniform resource identifier (URI) Uniquely identifies the namespace A string of text for differentiating names

Document Type Definitions (DTDs) and Schemas Two types of documents for specifying XML document structure Document Type Definition (DTDs) Schemas Document Type Definitions

Enables XML parser to verify whether XML document is valid Allow independent user groups to check structure and exchange data in standardized format Expresses set of rules for structure using so called EBNF grammar ELEMENT type declaration Defines rules ATTLIST attribute-list declaration Defines an attribute 1

--> Outline 3 4 5 6 7 8 9 letter.dtd (1 of 1)

10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 W3C XML Schema Documents Schemas Specify XML document structure

Do not use EBNF grammar Use XML syntax Can be manipulated like other XML documents Require validating parsers XML schemas Schema vocabulary the W3C created Recommendation Schema valid XML document that conforms to a schema document Use .xsd extension XML Vocabularies XSL (Extensible Stylesheet Language) MathML (Mathematical Markup Language) SVG (Scalable Vector Graphics) WML (Wireless Markup Language) XBRL (Extensible Business Reporting Language) Chemical Markup Language (CML) Really Simple Syndication (RSS)

Extensible Stylesheet Language (XSL) Think of XSL as a set of languages that can transform XML into XHTML, filter and sort XML data define parts of an XML document, format XML data based on the data value, like displaying negative numbers in red, and output XML data to different media, like screens, paper, or voice. Extensible Stylesheet Language (XSL) Element

Description Applies the templates of the XSL document to the children of the current node. Applies the templates of the XSL document to the children of must be some XPath expression that specifies elements. Contains rules to apply when a specified node is matched. Selects the value of an XML element and adds it to the output tree of the transformation. The required select attribute contains an XPath expression. Implicitly contains a template that is applied to every node selected by the XPath specified by the select attribute.

Used as a child element of an or element. Sorts the nodes selected by the or element so that the nodes are processed in sorted order. Has various attributes to define the format (e.g., xml, html), version (e.g., 1.2, 2.0), document type and media type of the output document. This tag is a top-level element, which means that it can be used only as a child element of a stylesheet. Adds the current node to the output tree. Fig. 20.27 Commonly used XSL stylesheet elements.

Recently Viewed Presentations

  • Connecting the Essence of our Professional Practice through

    Connecting the Essence of our Professional Practice through

    Nursing theory guided practice leads to improved patient care and quality outcomes Since 2010, KP Northern California Patient Care Services (PCS) adopted Dr. Jean Watson's theory of Human Caring for all 21 medical centers Caring Science aligns with the KP...
  • Lancement de CIRLI - UQO

    Lancement de CIRLI - UQO

    Contribution des écrits scientifiques dans l'élaboration de critères de lisibilité, d'intelligibilité et de langage simplifié pour soutenir la rédaction de documents informationnels et accessibles. Julie Ruel, André C. Moreau et Bernadette Kassi
  • A Portrait of the Artist as a Young Man by James Joyce

    A Portrait of the Artist as a Young Man by James Joyce

    A Portrait of the Artist as a Young Man by . James Joyce . Rite of Passage . by Han, Femi, Kevin and Ethan . lets just talk on fb. Change notification settings to notify when there's no comment, since...
  • Title of presentation

    Title of presentation

    This is an expensive process because of the increased need for investment in replacement capacity, and likely incremental gas price increases (unless gas supply were perfectly inelastic forever) It also "locks in" large amounts of new NGCC capacity which would...
  • Community pharmacy in 2016/17 and beyond - final package

    Community pharmacy in 2016/17 and beyond - final package

    Don't try to do this all by yourself; Sweat all your assets and use the skills & ability of the whole team….involve, delegate to and invest in, your troops…they are after all stakeholders like you are! Don't ignore the resources...
  • The travels of your textile trash - OSU Human Sciences

    The travels of your textile trash - OSU Human Sciences

    Clothing and household textiles currently make up 5.2% of the waste in landfills. Up to 95% of the textiles that are land filled each year could be recycled. Recycling clothing and textiles decreases the use of natural resources, such as...
  • Lattice Multiplication - Weebly

    Lattice Multiplication - Weebly

    Lattice Multiplication Step-by-Step 356 * 25 = I don't remember how to multiply!!! HELP!!! I can help!! Let me show you how to do Lattice Multiplication. 356 * 25 3 5 6 2 5 Make a grid the exact size...
  • THE DURHAM REPORT - University of British Columbia

    THE DURHAM REPORT - University of British Columbia

    Lord Durham's report led to the Union of Upper and Lower Canada into the province of Canada in 1840. Change in Britain's Colonial Policy. Britain was starting to rethink its colonial policies in the 1840s. The purpose of having colonies...