SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Extensible Markup Language
Rationale


               • Data interchange is essential to carry out business
                 transactions. However, organizations store data in disparate
                 formats, which makes the process of data interchange
                 complex and time-consuming.
               • Extensible Markup Language (XML) is a standard, simple
                 way of storing the data in a format that can be exchanged
                 across multiple systems across an enterprise. Providing an
                 insight into XML will benefit students as it is a standard
                 technology to describe and define documents.
               • The course is applicable to students who want to create
                 well-formed XML documents. This course introduces
                 students to the fundamentals of XML and enable them to
                 effectively use XML as a markup language to develop Web
                 applications.


    Ver. 1.0                       Session 1                         Slide 1 of 41
Extensible Markup Language
Objectives


                In this session, you will learn to:
                   Identify the need for XML as a standard data interchange
                   format
                   Identify the structure of XML documents




     Ver. 1.0                      Session 1                             Slide 2 of 41
Extensible Markup Language
Getting Started with XML


                Traditionally, preprinted formats were used to exchange
                information between businesses.
                Need for a more effective way of communicating and
                processing business data led to the emergence of
                Electronic Data Interchange (EDI).
                EDI refers to the process of exchanging documents in a
                standard format between two computer systems.
                EDI has the following limitations:
                   Rigid transaction set
                   Fixed business rules
                   High costs
                   Slow pace of standards evolution




     Ver. 1.0                     Session 1                         Slide 3 of 41
Extensible Markup Language
Introducing XML


               XML is a text-based markup language that enables storage
               of data in a structured format.
               XML is a cross-platform, hardware and software
               independent markup language that enables structured data
               transfer between heterogeneous systems.
               XML is used as a common data interchange format in a
               number of applications.

               Let us understand the usage of XML with the help of the
               diagram.




    Ver. 1.0                    Session 1                         Slide 4 of 41
Extensible Markup Language
Introducing XML (Contd.)

                  .


                                         Mobile Application                     Web Services




                Windows Application


                                                                                               Web Application

                                                                 XML




                                                         DB2           Oracle
                                      SQL Server                                      Access
                                                               Data Sources




     Ver. 1.0                                      Session 1                                              Slide 5 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Web Architecture Using XML
                   In a traditional Web architecture, a client sends a request to
                   the server in a pre-defined format and receives the response
                   accordingly.
                   The advantage of using XML in the Web architecture is that the
                   structure of the request can be obtained from the server at run
                   time.
                   XML can encode non-relational data as well as relational data
                   structure.




     Ver. 1.0                     Session 1                              Slide 6 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Web Architecture Using XML (Contd.)
                   The following figure depicts the XML Web architecture.




     Ver. 1.0                     Session 1                                 Slide 7 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Difference Between SGML, HTML, and XML
                   Standard Generalized Markup Language (SGML) allows
                   documents to describe their grammar by specifying the tag set
                   used in the document and the structural relationship that these
                   tags represent.
                   Hypertext Markup Language (HTML) is used for data
                   presentation.
                   XML is used for data description and definition.




     Ver. 1.0                      Session 1                              Slide 8 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Difference Between SGML, HTML, and XML (Contd.)

                                SGML          HTML    XML
                Extensibility
                                 Yes           Yes     Yes

                Structure
                                 Yes           No      Yes

                Validation       Yes           No      Yes

                Browser         Low            High   Low
                Dependency
                Cost/Benefit    Poor          Good    Medium




     Ver. 1.0                     Session 1                    Slide 9 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Advantages of XML
                   Some of the advantages of XML are:
                      Domain-specific vocabulary
                      Data interchange
                      Smart searches
                      Granular updates
                      User-selected view of data
                      Message transformation




     Ver. 1.0                     Session 1             Slide 10 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Advantages of XML
                   Some of the advantages of XML are:
                     Domain-specific vocabulary   In HTML, only the predefined tags can
                     Data interchange             be used.

                     Smart searches               In XML, you can create new tags based
                                                   on the requirements of the application.
                     Granular updates
                                                   Various languages such as MathML and
                     User-selected view of data
                                                   WML have been derived from XML.
                     Message transformation




     Ver. 1.0                     Session 1                                 Slide 11 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Advantages of XML
                   Some of the advantages of XML are:
                     Domain-specific vocabulary
                     Data interchange                  XML produces files that are
                                                        unambiguous, easy to generate,
                     Smart searches
                                                        and easy to read.
                     Granular updates
                                                        XML provides a structure to
                     User-selected view of data        store data in textual format,
                     Message transformation            which can then be used as a
                                                        standard format or protocol for
                                                        data interchange.




     Ver. 1.0                     Session 1                                  Slide 12 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Advantages of XML
                   Some of the advantages of XML are:
                     Domain-specific vocabulary
                     Data interchange
                     Smart searches                The flexibility to create user-defined
                                                     tags in XML enables creation of
                     Granular updates
                                                     smart search engines.
                     User-selected view of data
                                                    You can differentiate whether you
                     Message transformation         want do to search based on a text
                                                     or on a tag, which enables the
                                                     browser to perform a focused
                                                     search and return precise
                                                     information that matches the search
                                                     query.




     Ver. 1.0                     Session 1                                   Slide 13 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Advantages of XML
                   Some of the advantages of XML are:
                     Domain-specific vocabulary
                     Data interchange
                     Smart searches
                     Granular updates              Document updates in HTML
                                                     are slow as the entire
                     User-selected view of data     document needs to be
                     Message transformation         refreshed from the server.
                                                    Document updates in XML are
                                                     faster as only the changed
                                                     content needs to be
                                                     downloaded.




     Ver. 1.0                     Session 1                                Slide 14 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Advantages of XML
                   Some of the advantages of XML are:
                     Domain-specific vocabulary
                     Data interchange
                     Smart searches
                     Granular updates
                     User-selected view of data        In HTML, you need to create
                                                        separate HTML pages to
                     Message transformation            display the same information
                                                        in different formats while XML
                                                        concentrates on data and not
                                                        on its presentation.
                                                        HTML does not allow
                                                        conditional formatting of a
                                                        document while in XML
                                                        conditional formatting is
                                                        possible.



     Ver. 1.0                     Session 1                               Slide 15 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Advantages of XML
                   Some of the advantages of XML are:
                     Domain-specific vocabulary
                     Data interchange
                     Smart searches
                     Granular updates
                     User-selected view of data
                     Message transformation        In XML, a message can be stored in
                                                     the form of a document, object data,
                                                     or data from a database.
                                                    XML design provides flexibility while
                                                     storing data as it does not impose
                                                     any restriction on the field size and
                                                     the order in which the data is stored.




     Ver. 1.0                     Session 1                                 Slide 16 of 41
Extensible Markup Language
Introducing XML (Contd.)


                Future of XML
                   The future uses of XML can be summarized as:
                       XML will be widely used in e-commerce.
                       XML will have a huge core market in the form of Business to
                       Business (B2B).
                       XML will be used for mobile devices due to its ability to easily
                       convert into the appropriate format for any device.
                       XML will be used to solve communication problems in EDI and
                       Enterprise Application Integration (EAI) as it provides
                       interoperability between disparate applications.




     Ver. 1.0                       Session 1                                   Slide 17 of 41
Extensible Markup Language
Introducing W3C


               W3C is responsible for the development of Web
               specifications that describe communication protocols and
               technologies for the Web.
               Due to the flexibility for customization in XML, W3C has laid
               down these rules that need to be followed by all XML
               vendors:
                  XML must be directly usable over the Internet.
                  XML must support a wide variety of applications.
                  XML must be compatible with SGML.
                  XML should have absolute minimum number of optional
                  features, ideally zero.
                  XML documents must be human legible and clear.
                  XML design must be formal and concise.
                  XML documents must adhere to a set of constraints called full
                  normalization.
    Ver. 1.0                     Session 1                             Slide 18 of 41
Extensible Markup Language
Identifying the Structure of XML Documents


                An XML application is considered well designed if it is
                robust and scalable.
                To design a robust and scalable XML application, the
                following steps need to be performed:
                 1. Create an information model.
                 2. Identify the required components of the XML document.
                 3. Create the XML document.




     Ver. 1.0                     Session 1                            Slide 19 of 41
Extensible Markup Language
Information Modeling


                An information model is a description of the information
                used in an organization.
                Information modeling helps identify:
                   Objects involved in an application
                   Properties of the objects
                   Relationships among objects
                XML provides the following additional capabilities to
                information modeling:
                 a Heterogeneity                 Each record can contain different data
                                                 fields.
                                                New data types can be added
                 a Extensibility
                                                whenever required. in size and
                                                 Data fields can vary
                 a Flexibility                   configuration between instances.




     Ver. 1.0                      Session 1                                   Slide 20 of 41
Extensible Markup Language
Information Modeling (Contd.)


                Types of information models that can be created for an XML
                application are:
                a Static model: Helps define all the objects in an application and
                  the relationships among them.
                a Dynamic model: Helps to determine the information flow of an
                  application in the form of messages.




     Ver. 1.0                     Session 1                              Slide 21 of 41
Extensible Markup Language
Components of an XML Document


               The various components of an XML document used for
               representing data in a hierarchical order are:
                  Processing Instruction (PI)
                  Tags
                  Elements
                  Content
                  Attributes
                  Entities
                  Comments




    Ver. 1.0                      Session 1                   Slide 22 of 41
Extensible Markup Language
Components of an XML Document (Contd.)


               <?xml version=“1.0” encoding=“UTF-8”?>
               <STOREDATA>                              Processing Instruction (PI)

               <!--STOREDATA is the root element-->     Provides information on how
                                                        the XML file should be
                   <STORE STOREID=“S101”>               processed.
                     <PRODUCTNAME>Toys</PRODUCTNAME>

                     <QUANTITY>100</QUANTITY>
                     <DISPLAY>The price of this toy
                      is &lt; 200 </DISPLAY>
                  </STORE>
               </STOREDATA>




    Ver. 1.0                      Session 1                                Slide 23 of 41
Extensible Markup Language
Components of an XML Document (Contd.)


               <?xml version=“1.0” encoding=“UTF-8”?>
               <STOREDATA>
               <!--STOREDATA is the root element-->   Tags

                   <STORE STOREID=“S101”>             Is a means of identifying
                     <PRODUCTNAME>Toys</PRODUCTNAME> data. Tags consist of start
                                                            tag and end tag.
                     <QUANTITY>100</QUANTITY>
                     <DISPLAY>The price of this toy
                      is &lt; 200 </DISPLAY>
                  </STORE>
               </STOREDATA>




    Ver. 1.0                         Session 1                                 Slide 24 of 41
Extensible Markup Language
Components of an XML Document (Contd.)


               <?xml version=“1.0” encoding=“UTF-8”?>
               <STOREDATA>
                                                      Root Element
               <!--STOREDATA is the root element-->
                                                      Contains all other elements
                   <STORE STOREID=“S101”>             in the document.
                     <PRODUCTNAME>Toys</PRODUCTNAME>

                     <QUANTITY>100</QUANTITY>
                     <DISPLAY>The price of this toy
                      is &lt; 200 </DISPLAY>
                  </STORE>
               </STOREDATA>




    Ver. 1.0                         Session 1                            Slide 25 of 41
Extensible Markup Language
Components of an XML Document (Contd.)


               <?xml version=“1.0” encoding=“UTF-8”?>
               <STOREDATA>
               <!--STOREDATA is the root element-->   Comments
                   <STORE STOREID=“S101”>
                                                      Are statements used to
                     <PRODUCTNAME>Toys</PRODUCTNAME> explain the XML code.

                     <QUANTITY>100</QUANTITY>
                     <DISPLAY>The price of this toy
                      is &lt; 200 </DISPLAY>
                  </STORE>
               </STOREDATA>




    Ver. 1.0                        Session 1                            Slide 26 of 41
Extensible Markup Language
Components of an XML Document (Contd.)


               <?xml version=“1.0” encoding=“UTF-8”?>
               <STOREDATA>
               <!--STOREDATA is the root element-->
                   <STORE STOREID=“S101”>             Child Elements
                     <PRODUCTNAME>Toys</PRODUCTNAME> Are the basic units used to
                                                           identify and describe data in
                     <QUANTITY>100</QUANTITY>              XML.
                     <DISPLAY>The price of this toy
                      is &lt; 200 </DISPLAY>
                  </STORE>
               </STOREDATA>




    Ver. 1.0                         Session 1                                Slide 27 of 41
Extensible Markup Language
Components of an XML Document (Contd.)


               <?xml version=“1.0” encoding=“UTF-8”?>
               <STOREDATA>
               <!--STOREDATA is the root element-->
                   <STORE STOREID=“S101”>             Attributes
                     <PRODUCTNAME>Toys</PRODUCTNAME>
                                                         Provide additional
                                                         information about the
                     <QUANTITY>100</QUANTITY>
                                                         elements for which they are
                     <DISPLAY>The price of this toy      declared.
                      is &lt; 200 </DISPLAY>
                  </STORE>
               </STOREDATA>




    Ver. 1.0                        Session 1                              Slide 28 of 41
Extensible Markup Language
Components of an XML Document (Contd.)


               <?xml version=“1.0” encoding=“UTF-8”?>
               <STOREDATA>
               <!--STOREDATA is the root element-->
                   <STORE STOREID=“S101”>
                     <PRODUCTNAME>Toys</PRODUCTNAME> Content
                                                      Refers to the information
                     <QUANTITY>100</QUANTITY>         represented by the elements
                     <DISPLAY>The price of this toy   of an XML document. An
                      is &lt; 200 </DISPLAY>          element can contain:

                  </STORE>                            • Character or data content
               </STOREDATA>                           • Element content
                                                      • Combination or mixed
                                                        content




    Ver. 1.0                      Session 1                               Slide 29 of 41
Extensible Markup Language
Components of an XML Document (Contd.)


               <?xml version=“1.0” encoding=“UTF-8”?>
               <STOREDATA>
               <!--STOREDATA is the root element-->
                   <STORE STOREID=“S101”>
                     <PRODUCTNAME>Toys</PRODUCTNAME>

                     <QUANTITY>100</QUANTITY>           Entities
                     <DISPLAY>The price of this toy     Is a set of information that
                      is &lt; 200 </DISPLAY>            can be used by specifying a
                                                        single name.
                  </STORE>
               </STOREDATA>




    Ver. 1.0                      Session 1                                 Slide 30 of 41
Extensible Markup Language
Identifying the Rules for Creating XML Documents


                The rules that govern the creation of a well-formed XML
                document:
                   Every start tag must have an end tag.
                   Empty tags must be closed using a forward slash (/).
                   All attribute values must be given in double quotation marks.
                   Tags must have proper nesting.
                   XML tags are case sensitive.




     Ver. 1.0                      Session 1                              Slide 31 of 41
Extensible Markup Language
Demo: Creating an XML Document


               Problem Statement:
                  CyberShoppe, Inc. sells toys and books in the United States. It
                  has three branches in different parts of the country. Currently,
                  the three branches maintain data on their local computer
                  systems. The IT manager at CyberShoppe has identified that a
                  centralized data repository on the products sold through its
                  e-commerce site is required. The data from all branches must
                  be collated and housed in a centralized location. This data
                  must be made available to the Accounts and Sales sections at
                  the individual branches, regardless of the hardware and
                  software platforms being used at the branches.
                  In addition, the sales personnel require access to the data
                  using palmtops and cellular phones. The product details of
                  CyberShoppe consist of the product name, a brief description,
                  the price, and the available quantity on hand. A product ID
                  uniquely identifies each product.

    Ver. 1.0                      Session 1                              Slide 32 of 41
Extensible Markup Language
Practice Questions


                Consider the following statement:
                <?xml version="1.0" encoding= "UTF-8"?>
                Which component of an XML document does the preceding
                statement represent?
                 a.   Element
                 b.   Content
                 c.   Entity
                 d.   Processing Instruction



                Answer:
                 d. Processing Instruction



     Ver. 1.0                        Session 1                Slide 33 of 41
Extensible Markup Language
Practice Questions


                Bob is the EDP head of an organization that manufactures
                and sells hardware parts. The organization has presence in
                all the major cities of the United States. At present, all
                branch offices maintain their data locally. Bob wants to
                centralize the repository of data in his organization. Data
                from all the branch offices needs to be collated and stored
                in a centralized location. Data pertaining to a branch should
                be available only to that branch office. However, the head
                office should be able to access all the data.




     Ver. 1.0                     Session 1                          Slide 34 of 41
Extensible Markup Language
Practice Questions (Contd.)


                In addition, Bob also wants that the sales personnel should
                be able to access sales data from mobile devices, such as
                palmtops and mobile phones. This sales information should
                have a brief description of the product, the price, and the
                available inventory. Using which of the following markup
                languages can Bob achieve the preceding goals?
                 a.   HTML
                 b.   XML
                 c.   SGML
                 d.   EDI

                Answer:
                 b. XML



     Ver. 1.0                    Session 1                          Slide 35 of 41
Extensible Markup Language
Practice Questions


                Which of the following statement is NOT true about
                information modeling?
                a. Information Modeling is used to understand the structure and
                   meaning of information that will be stored in XML documents.
                b. Information Modeling helps you identify the objects involved in
                   an application, the properties of the objects, and the
                   relationships among them.
                c. In an Information Model, each record can contain different data
                   fields.
                d. An information model imposes restrictions on data.


                Answer:
                d. An information model imposes restrictions on data.



     Ver. 1.0                     Session 1                              Slide 36 of 41
Extensible Markup Language
Practice Questions


                Which one of the following statements is true about XML?
                a. XML is a text-based markup language that provides predefined
                   tags to store data.
                b. XML is a platform-neutral data interchange format.
                c. XML requires VAN for data interchange.
                d. XML allows you to specify data formatting instructions.




                Answer:
                b. XML is a platform-neutral data interchange format.



     Ver. 1.0                     Session 1                             Slide 37 of 41
Extensible Markup Language
Practice Questions


                Which one of the following is a disadvantage of traditional
                EDI?
                 a. It provides fixed transaction sets.
                 b. It increases the communication lag time between an agency
                    and a customer.
                 c. It increases data entry errors.
                 d. It increases the time taken to process orders.




                Answer:
                 a. It provides fixed transaction sets.



     Ver. 1.0                       Session 1                          Slide 38 of 41
Extensible Markup Language
Summary


               In this session, you learned that:
                  EDI refers to the process of exchanging documents in a
                  standard format between two computer systems.
                  XML is a text-based markup language that enables you to
                  store data in a structured format by using meaningful tags.
                  Using XML in Web architecture enables loose coupling
                  between the server application and the client application.
                  XML has the following advantages:
                      Domain‑specific vocabulary
                      Data interchange
                      Smart searches
                      Granular updates
                      User‑selected view of data
                      Message transformation



    Ver. 1.0                      Session 1                              Slide 39 of 41
Extensible Markup Language
Summary (Contd.)


                 In future, XML will be widely used in:
                      E-commerce
                      B2B services
                      Mobile services
                      EDI and EAI
                XML was defined by W3C to ensure that structured data is
                 uniform and independent of vendors and applications.
                In XML, an information model is used to understand the
                 structure and meaning of information that will be stored in XML
                 documents.
                You can create static, dynamic, or a combination of both these
                 information models for an XML application.
                A static information model helps you define all the objects in an
                 application and the relationships among them.



    Ver. 1.0                       Session 1                             Slide 40 of 41
Extensible Markup Language
Summary (Contd.)


               In a dynamic model, data flow diagrams and process diagrams
               are used to determine the flow of information.
               An XML document consists of:
                   Processing Instruction (PI)
                   Tags
                   Elements
                   Content
                   Attributes
                   Entities
                   Comments




    Ver. 1.0                    Session 1                         Slide 41 of 41

Weitere ähnliche Inhalte

Was ist angesagt?

C:\fakepath\buildingblock bbmanifest
C:\fakepath\buildingblock bbmanifestC:\fakepath\buildingblock bbmanifest
C:\fakepath\buildingblock bbmanifest
dil12345
 
Architecture of eSobi club based on J2EE
Architecture of eSobi club based on J2EEArchitecture of eSobi club based on J2EE
Architecture of eSobi club based on J2EE
Allan Huang
 
IBM Solutions '99 XML and Java: Lessons Learned
IBM Solutions '99 XML and Java: Lessons LearnedIBM Solutions '99 XML and Java: Lessons Learned
IBM Solutions '99 XML and Java: Lessons Learned
Ted Leung
 
WID (Websphere Integration Development) Guide
WID (Websphere Integration Development) GuideWID (Websphere Integration Development) Guide
WID (Websphere Integration Development) Guide
ravireddy76
 

Was ist angesagt? (15)

Twp perf-oracle-1
Twp perf-oracle-1Twp perf-oracle-1
Twp perf-oracle-1
 
Beyond the Basics: An Overview of User LifeCycle and Managing Users with TDI
Beyond the Basics: An Overview of User LifeCycle and Managing Users with TDIBeyond the Basics: An Overview of User LifeCycle and Managing Users with TDI
Beyond the Basics: An Overview of User LifeCycle and Managing Users with TDI
 
.NET Tutorial
.NET Tutorial.NET Tutorial
.NET Tutorial
 
C:\fakepath\buildingblock bbmanifest
C:\fakepath\buildingblock bbmanifestC:\fakepath\buildingblock bbmanifest
C:\fakepath\buildingblock bbmanifest
 
DanNotes: Using TDI with IBM Connections
DanNotes: Using TDI with IBM ConnectionsDanNotes: Using TDI with IBM Connections
DanNotes: Using TDI with IBM Connections
 
Unit 3 WEB TECHNOLOGIES
Unit 3 WEB TECHNOLOGIES Unit 3 WEB TECHNOLOGIES
Unit 3 WEB TECHNOLOGIES
 
Architecture of eSobi club based on J2EE
Architecture of eSobi club based on J2EEArchitecture of eSobi club based on J2EE
Architecture of eSobi club based on J2EE
 
Universal Java Beans with DB2 from 1999, early Internet work
Universal Java Beans with DB2 from 1999, early Internet workUniversal Java Beans with DB2 from 1999, early Internet work
Universal Java Beans with DB2 from 1999, early Internet work
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architecture
 
Dot net training-navimumbai
Dot net training-navimumbaiDot net training-navimumbai
Dot net training-navimumbai
 
15 jpa
15 jpa15 jpa
15 jpa
 
IBM Solutions '99 XML and Java: Lessons Learned
IBM Solutions '99 XML and Java: Lessons LearnedIBM Solutions '99 XML and Java: Lessons Learned
IBM Solutions '99 XML and Java: Lessons Learned
 
CloverETL Training Sample
CloverETL Training SampleCloverETL Training Sample
CloverETL Training Sample
 
WID (Websphere Integration Development) Guide
WID (Websphere Integration Development) GuideWID (Websphere Integration Development) Guide
WID (Websphere Integration Development) Guide
 
Spring
SpringSpring
Spring
 

Ähnlich wie Xml session01

Working with xml data
Working with xml dataWorking with xml data
Working with xml data
aspnet123
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
soumya
 
Applied xml programming for microsoft
Applied xml programming for microsoftApplied xml programming for microsoft
Applied xml programming for microsoft
Raghu nath
 
ravenbenweb xml and its application .PPT
ravenbenweb xml and its application .PPTravenbenweb xml and its application .PPT
ravenbenweb xml and its application .PPT
ubaidullah75790
 
Fuzzy Rules for HTML Transcoding
Fuzzy Rules for HTML TranscodingFuzzy Rules for HTML Transcoding
Fuzzy Rules for HTML Transcoding
Videoguy
 
Crawford ubl200212
Crawford ubl200212Crawford ubl200212
Crawford ubl200212
kcmani15
 
Processing OpenDocument Format
Processing OpenDocument FormatProcessing OpenDocument Format
Processing OpenDocument Format
Alexandro Colorado
 

Ähnlich wie Xml session01 (20)

Introduction to XML
Introduction to XMLIntroduction to XML
Introduction to XML
 
Working with xml data
Working with xml dataWorking with xml data
Working with xml data
 
Introduction to xml
Introduction to xmlIntroduction to xml
Introduction to xml
 
Xml plymouth
Xml plymouthXml plymouth
Xml plymouth
 
UNIT-1 Web services
UNIT-1 Web servicesUNIT-1 Web services
UNIT-1 Web services
 
What is xml
What is xmlWhat is xml
What is xml
 
ACE Logo
ACE LogoACE Logo
ACE Logo
 
58 65
58 6558 65
58 65
 
XML Introduction
XML IntroductionXML Introduction
XML Introduction
 
Applied xml programming for microsoft
Applied xml programming for microsoftApplied xml programming for microsoft
Applied xml programming for microsoft
 
XML
XMLXML
XML
 
Xml
XmlXml
Xml
 
ravenbenweb xml and its application .PPT
ravenbenweb xml and its application .PPTravenbenweb xml and its application .PPT
ravenbenweb xml and its application .PPT
 
Linq to xml
Linq to xmlLinq to xml
Linq to xml
 
Tutor Xml Gxs
Tutor Xml GxsTutor Xml Gxs
Tutor Xml Gxs
 
Fuzzy Rules for HTML Transcoding
Fuzzy Rules for HTML TranscodingFuzzy Rules for HTML Transcoding
Fuzzy Rules for HTML Transcoding
 
Xml programming language myassignmenthelp.net
Xml programming  language myassignmenthelp.netXml programming  language myassignmenthelp.net
Xml programming language myassignmenthelp.net
 
Crawford ubl200212
Crawford ubl200212Crawford ubl200212
Crawford ubl200212
 
Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108Jaxp Xmltutorial 11 200108
Jaxp Xmltutorial 11 200108
 
Processing OpenDocument Format
Processing OpenDocument FormatProcessing OpenDocument Format
Processing OpenDocument Format
 

Mehr von Niit Care (20)

Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Xml session01

  • 1. Extensible Markup Language Rationale • Data interchange is essential to carry out business transactions. However, organizations store data in disparate formats, which makes the process of data interchange complex and time-consuming. • Extensible Markup Language (XML) is a standard, simple way of storing the data in a format that can be exchanged across multiple systems across an enterprise. Providing an insight into XML will benefit students as it is a standard technology to describe and define documents. • The course is applicable to students who want to create well-formed XML documents. This course introduces students to the fundamentals of XML and enable them to effectively use XML as a markup language to develop Web applications. Ver. 1.0 Session 1 Slide 1 of 41
  • 2. Extensible Markup Language Objectives In this session, you will learn to: Identify the need for XML as a standard data interchange format Identify the structure of XML documents Ver. 1.0 Session 1 Slide 2 of 41
  • 3. Extensible Markup Language Getting Started with XML Traditionally, preprinted formats were used to exchange information between businesses. Need for a more effective way of communicating and processing business data led to the emergence of Electronic Data Interchange (EDI). EDI refers to the process of exchanging documents in a standard format between two computer systems. EDI has the following limitations: Rigid transaction set Fixed business rules High costs Slow pace of standards evolution Ver. 1.0 Session 1 Slide 3 of 41
  • 4. Extensible Markup Language Introducing XML XML is a text-based markup language that enables storage of data in a structured format. XML is a cross-platform, hardware and software independent markup language that enables structured data transfer between heterogeneous systems. XML is used as a common data interchange format in a number of applications. Let us understand the usage of XML with the help of the diagram. Ver. 1.0 Session 1 Slide 4 of 41
  • 5. Extensible Markup Language Introducing XML (Contd.) . Mobile Application Web Services Windows Application Web Application XML DB2 Oracle SQL Server Access Data Sources Ver. 1.0 Session 1 Slide 5 of 41
  • 6. Extensible Markup Language Introducing XML (Contd.) Web Architecture Using XML In a traditional Web architecture, a client sends a request to the server in a pre-defined format and receives the response accordingly. The advantage of using XML in the Web architecture is that the structure of the request can be obtained from the server at run time. XML can encode non-relational data as well as relational data structure. Ver. 1.0 Session 1 Slide 6 of 41
  • 7. Extensible Markup Language Introducing XML (Contd.) Web Architecture Using XML (Contd.) The following figure depicts the XML Web architecture. Ver. 1.0 Session 1 Slide 7 of 41
  • 8. Extensible Markup Language Introducing XML (Contd.) Difference Between SGML, HTML, and XML Standard Generalized Markup Language (SGML) allows documents to describe their grammar by specifying the tag set used in the document and the structural relationship that these tags represent. Hypertext Markup Language (HTML) is used for data presentation. XML is used for data description and definition. Ver. 1.0 Session 1 Slide 8 of 41
  • 9. Extensible Markup Language Introducing XML (Contd.) Difference Between SGML, HTML, and XML (Contd.) SGML HTML XML Extensibility Yes Yes Yes Structure Yes No Yes Validation Yes No Yes Browser Low High Low Dependency Cost/Benefit Poor Good Medium Ver. 1.0 Session 1 Slide 9 of 41
  • 10. Extensible Markup Language Introducing XML (Contd.) Advantages of XML Some of the advantages of XML are: Domain-specific vocabulary Data interchange Smart searches Granular updates User-selected view of data Message transformation Ver. 1.0 Session 1 Slide 10 of 41
  • 11. Extensible Markup Language Introducing XML (Contd.) Advantages of XML Some of the advantages of XML are:  Domain-specific vocabulary In HTML, only the predefined tags can  Data interchange be used.  Smart searches In XML, you can create new tags based on the requirements of the application.  Granular updates Various languages such as MathML and  User-selected view of data WML have been derived from XML.  Message transformation Ver. 1.0 Session 1 Slide 11 of 41
  • 12. Extensible Markup Language Introducing XML (Contd.) Advantages of XML Some of the advantages of XML are:  Domain-specific vocabulary  Data interchange XML produces files that are unambiguous, easy to generate,  Smart searches and easy to read.  Granular updates XML provides a structure to  User-selected view of data store data in textual format,  Message transformation which can then be used as a standard format or protocol for data interchange. Ver. 1.0 Session 1 Slide 12 of 41
  • 13. Extensible Markup Language Introducing XML (Contd.) Advantages of XML Some of the advantages of XML are:  Domain-specific vocabulary  Data interchange  Smart searches  The flexibility to create user-defined tags in XML enables creation of  Granular updates smart search engines.  User-selected view of data  You can differentiate whether you  Message transformation want do to search based on a text or on a tag, which enables the browser to perform a focused search and return precise information that matches the search query. Ver. 1.0 Session 1 Slide 13 of 41
  • 14. Extensible Markup Language Introducing XML (Contd.) Advantages of XML Some of the advantages of XML are:  Domain-specific vocabulary  Data interchange  Smart searches  Granular updates  Document updates in HTML are slow as the entire  User-selected view of data document needs to be  Message transformation refreshed from the server.  Document updates in XML are faster as only the changed content needs to be downloaded. Ver. 1.0 Session 1 Slide 14 of 41
  • 15. Extensible Markup Language Introducing XML (Contd.) Advantages of XML Some of the advantages of XML are:  Domain-specific vocabulary  Data interchange  Smart searches  Granular updates  User-selected view of data In HTML, you need to create separate HTML pages to  Message transformation display the same information in different formats while XML concentrates on data and not on its presentation. HTML does not allow conditional formatting of a document while in XML conditional formatting is possible. Ver. 1.0 Session 1 Slide 15 of 41
  • 16. Extensible Markup Language Introducing XML (Contd.) Advantages of XML Some of the advantages of XML are:  Domain-specific vocabulary  Data interchange  Smart searches  Granular updates  User-selected view of data  Message transformation  In XML, a message can be stored in the form of a document, object data, or data from a database.  XML design provides flexibility while storing data as it does not impose any restriction on the field size and the order in which the data is stored. Ver. 1.0 Session 1 Slide 16 of 41
  • 17. Extensible Markup Language Introducing XML (Contd.) Future of XML The future uses of XML can be summarized as: XML will be widely used in e-commerce. XML will have a huge core market in the form of Business to Business (B2B). XML will be used for mobile devices due to its ability to easily convert into the appropriate format for any device. XML will be used to solve communication problems in EDI and Enterprise Application Integration (EAI) as it provides interoperability between disparate applications. Ver. 1.0 Session 1 Slide 17 of 41
  • 18. Extensible Markup Language Introducing W3C W3C is responsible for the development of Web specifications that describe communication protocols and technologies for the Web. Due to the flexibility for customization in XML, W3C has laid down these rules that need to be followed by all XML vendors: XML must be directly usable over the Internet. XML must support a wide variety of applications. XML must be compatible with SGML. XML should have absolute minimum number of optional features, ideally zero. XML documents must be human legible and clear. XML design must be formal and concise. XML documents must adhere to a set of constraints called full normalization. Ver. 1.0 Session 1 Slide 18 of 41
  • 19. Extensible Markup Language Identifying the Structure of XML Documents An XML application is considered well designed if it is robust and scalable. To design a robust and scalable XML application, the following steps need to be performed: 1. Create an information model. 2. Identify the required components of the XML document. 3. Create the XML document. Ver. 1.0 Session 1 Slide 19 of 41
  • 20. Extensible Markup Language Information Modeling An information model is a description of the information used in an organization. Information modeling helps identify: Objects involved in an application Properties of the objects Relationships among objects XML provides the following additional capabilities to information modeling: a Heterogeneity Each record can contain different data fields.  New data types can be added a Extensibility  whenever required. in size and Data fields can vary a Flexibility configuration between instances. Ver. 1.0 Session 1 Slide 20 of 41
  • 21. Extensible Markup Language Information Modeling (Contd.) Types of information models that can be created for an XML application are: a Static model: Helps define all the objects in an application and the relationships among them. a Dynamic model: Helps to determine the information flow of an application in the form of messages. Ver. 1.0 Session 1 Slide 21 of 41
  • 22. Extensible Markup Language Components of an XML Document The various components of an XML document used for representing data in a hierarchical order are: Processing Instruction (PI) Tags Elements Content Attributes Entities Comments Ver. 1.0 Session 1 Slide 22 of 41
  • 23. Extensible Markup Language Components of an XML Document (Contd.) <?xml version=“1.0” encoding=“UTF-8”?> <STOREDATA> Processing Instruction (PI) <!--STOREDATA is the root element--> Provides information on how the XML file should be <STORE STOREID=“S101”> processed. <PRODUCTNAME>Toys</PRODUCTNAME> <QUANTITY>100</QUANTITY> <DISPLAY>The price of this toy is &lt; 200 </DISPLAY> </STORE> </STOREDATA> Ver. 1.0 Session 1 Slide 23 of 41
  • 24. Extensible Markup Language Components of an XML Document (Contd.) <?xml version=“1.0” encoding=“UTF-8”?> <STOREDATA> <!--STOREDATA is the root element--> Tags <STORE STOREID=“S101”> Is a means of identifying <PRODUCTNAME>Toys</PRODUCTNAME> data. Tags consist of start tag and end tag. <QUANTITY>100</QUANTITY> <DISPLAY>The price of this toy is &lt; 200 </DISPLAY> </STORE> </STOREDATA> Ver. 1.0 Session 1 Slide 24 of 41
  • 25. Extensible Markup Language Components of an XML Document (Contd.) <?xml version=“1.0” encoding=“UTF-8”?> <STOREDATA> Root Element <!--STOREDATA is the root element--> Contains all other elements <STORE STOREID=“S101”> in the document. <PRODUCTNAME>Toys</PRODUCTNAME> <QUANTITY>100</QUANTITY> <DISPLAY>The price of this toy is &lt; 200 </DISPLAY> </STORE> </STOREDATA> Ver. 1.0 Session 1 Slide 25 of 41
  • 26. Extensible Markup Language Components of an XML Document (Contd.) <?xml version=“1.0” encoding=“UTF-8”?> <STOREDATA> <!--STOREDATA is the root element--> Comments <STORE STOREID=“S101”> Are statements used to <PRODUCTNAME>Toys</PRODUCTNAME> explain the XML code. <QUANTITY>100</QUANTITY> <DISPLAY>The price of this toy is &lt; 200 </DISPLAY> </STORE> </STOREDATA> Ver. 1.0 Session 1 Slide 26 of 41
  • 27. Extensible Markup Language Components of an XML Document (Contd.) <?xml version=“1.0” encoding=“UTF-8”?> <STOREDATA> <!--STOREDATA is the root element--> <STORE STOREID=“S101”> Child Elements <PRODUCTNAME>Toys</PRODUCTNAME> Are the basic units used to identify and describe data in <QUANTITY>100</QUANTITY> XML. <DISPLAY>The price of this toy is &lt; 200 </DISPLAY> </STORE> </STOREDATA> Ver. 1.0 Session 1 Slide 27 of 41
  • 28. Extensible Markup Language Components of an XML Document (Contd.) <?xml version=“1.0” encoding=“UTF-8”?> <STOREDATA> <!--STOREDATA is the root element--> <STORE STOREID=“S101”> Attributes <PRODUCTNAME>Toys</PRODUCTNAME> Provide additional information about the <QUANTITY>100</QUANTITY> elements for which they are <DISPLAY>The price of this toy declared. is &lt; 200 </DISPLAY> </STORE> </STOREDATA> Ver. 1.0 Session 1 Slide 28 of 41
  • 29. Extensible Markup Language Components of an XML Document (Contd.) <?xml version=“1.0” encoding=“UTF-8”?> <STOREDATA> <!--STOREDATA is the root element--> <STORE STOREID=“S101”> <PRODUCTNAME>Toys</PRODUCTNAME> Content Refers to the information <QUANTITY>100</QUANTITY> represented by the elements <DISPLAY>The price of this toy of an XML document. An is &lt; 200 </DISPLAY> element can contain: </STORE> • Character or data content </STOREDATA> • Element content • Combination or mixed content Ver. 1.0 Session 1 Slide 29 of 41
  • 30. Extensible Markup Language Components of an XML Document (Contd.) <?xml version=“1.0” encoding=“UTF-8”?> <STOREDATA> <!--STOREDATA is the root element--> <STORE STOREID=“S101”> <PRODUCTNAME>Toys</PRODUCTNAME> <QUANTITY>100</QUANTITY> Entities <DISPLAY>The price of this toy Is a set of information that is &lt; 200 </DISPLAY> can be used by specifying a single name. </STORE> </STOREDATA> Ver. 1.0 Session 1 Slide 30 of 41
  • 31. Extensible Markup Language Identifying the Rules for Creating XML Documents The rules that govern the creation of a well-formed XML document: Every start tag must have an end tag. Empty tags must be closed using a forward slash (/). All attribute values must be given in double quotation marks. Tags must have proper nesting. XML tags are case sensitive. Ver. 1.0 Session 1 Slide 31 of 41
  • 32. Extensible Markup Language Demo: Creating an XML Document Problem Statement: CyberShoppe, Inc. sells toys and books in the United States. It has three branches in different parts of the country. Currently, the three branches maintain data on their local computer systems. The IT manager at CyberShoppe has identified that a centralized data repository on the products sold through its e-commerce site is required. The data from all branches must be collated and housed in a centralized location. This data must be made available to the Accounts and Sales sections at the individual branches, regardless of the hardware and software platforms being used at the branches. In addition, the sales personnel require access to the data using palmtops and cellular phones. The product details of CyberShoppe consist of the product name, a brief description, the price, and the available quantity on hand. A product ID uniquely identifies each product. Ver. 1.0 Session 1 Slide 32 of 41
  • 33. Extensible Markup Language Practice Questions Consider the following statement: <?xml version="1.0" encoding= "UTF-8"?> Which component of an XML document does the preceding statement represent? a. Element b. Content c. Entity d. Processing Instruction Answer: d. Processing Instruction Ver. 1.0 Session 1 Slide 33 of 41
  • 34. Extensible Markup Language Practice Questions Bob is the EDP head of an organization that manufactures and sells hardware parts. The organization has presence in all the major cities of the United States. At present, all branch offices maintain their data locally. Bob wants to centralize the repository of data in his organization. Data from all the branch offices needs to be collated and stored in a centralized location. Data pertaining to a branch should be available only to that branch office. However, the head office should be able to access all the data. Ver. 1.0 Session 1 Slide 34 of 41
  • 35. Extensible Markup Language Practice Questions (Contd.) In addition, Bob also wants that the sales personnel should be able to access sales data from mobile devices, such as palmtops and mobile phones. This sales information should have a brief description of the product, the price, and the available inventory. Using which of the following markup languages can Bob achieve the preceding goals? a. HTML b. XML c. SGML d. EDI Answer: b. XML Ver. 1.0 Session 1 Slide 35 of 41
  • 36. Extensible Markup Language Practice Questions Which of the following statement is NOT true about information modeling? a. Information Modeling is used to understand the structure and meaning of information that will be stored in XML documents. b. Information Modeling helps you identify the objects involved in an application, the properties of the objects, and the relationships among them. c. In an Information Model, each record can contain different data fields. d. An information model imposes restrictions on data. Answer: d. An information model imposes restrictions on data. Ver. 1.0 Session 1 Slide 36 of 41
  • 37. Extensible Markup Language Practice Questions Which one of the following statements is true about XML? a. XML is a text-based markup language that provides predefined tags to store data. b. XML is a platform-neutral data interchange format. c. XML requires VAN for data interchange. d. XML allows you to specify data formatting instructions. Answer: b. XML is a platform-neutral data interchange format. Ver. 1.0 Session 1 Slide 37 of 41
  • 38. Extensible Markup Language Practice Questions Which one of the following is a disadvantage of traditional EDI? a. It provides fixed transaction sets. b. It increases the communication lag time between an agency and a customer. c. It increases data entry errors. d. It increases the time taken to process orders. Answer: a. It provides fixed transaction sets. Ver. 1.0 Session 1 Slide 38 of 41
  • 39. Extensible Markup Language Summary In this session, you learned that: EDI refers to the process of exchanging documents in a standard format between two computer systems. XML is a text-based markup language that enables you to store data in a structured format by using meaningful tags. Using XML in Web architecture enables loose coupling between the server application and the client application. XML has the following advantages: Domain‑specific vocabulary Data interchange Smart searches Granular updates User‑selected view of data Message transformation Ver. 1.0 Session 1 Slide 39 of 41
  • 40. Extensible Markup Language Summary (Contd.) In future, XML will be widely used in:  E-commerce  B2B services  Mobile services  EDI and EAI  XML was defined by W3C to ensure that structured data is uniform and independent of vendors and applications.  In XML, an information model is used to understand the structure and meaning of information that will be stored in XML documents.  You can create static, dynamic, or a combination of both these information models for an XML application.  A static information model helps you define all the objects in an application and the relationships among them. Ver. 1.0 Session 1 Slide 40 of 41
  • 41. Extensible Markup Language Summary (Contd.) In a dynamic model, data flow diagrams and process diagrams are used to determine the flow of information. An XML document consists of: Processing Instruction (PI) Tags Elements Content Attributes Entities Comments Ver. 1.0 Session 1 Slide 41 of 41

Hinweis der Redaktion

  1. Students have learnt the structure of different types of dimensions and the importance of surrogate keys in Module I. In this session, students will learn to load the data into the dimension tables after the data has been transformed in the transformation phase. In addition, students will also learn to update data into these dimension tables. Students already know about different types of dimension tables. Therefore, you can start the session by recapitulating the concepts. Initiate the class by asking the following questions: 1. What are the different types of dimensions? 2. Define flat dimension. 3. What are conformed dimension? 4. Define large dimension. 5. Define small dimension. 6. What is the importance of surrogate key in a dimension table? Students will learn the loading and update strategies theoretically in this session. The demonstration to load and update the data in the dimension table will be covered in next session.
  2. Introduce the students to the course by asking them what they know about forensics. Next, ask the students what they know about system forensics and why is it required in organizations dependent on IT. This could be a brief discussion of about 5 minutes. Lead the discussion to the objectives of this chapter.
  3. Introduce the students to the different types of threats that systems face by: Asking the students to give examples of what they think are environmental and human threats. Asking the students to give instances of what they think are malicious and non-malicious threats. Conclude the discussion on the different types of threats by giving additional examples of malicious and non malicious threats.
  4. Hold a two- three minute discussion on the different types of system-related crimes that the students have experienced or heard. At the end of the discussion, give additional examples of system-related crimes.
  5. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  6. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  7. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  8. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  9. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  10. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  11. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  12. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  13. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  14. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  15. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  16. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  17. While explaining the definition of system forensics, ask the students to note the following key words in the definition: Identify Extract Process Analyze Digital and hardware evidence Tell the students that these form an integral aspect of system forensics and would be discussed in detail. Before moving on to the next slide, hold a brief discussion on why is it important for organizations to take the help of system forensics. The discussion should be focused on: The role that system forensics plays in organizations having an IT set up. This discussion will serve as a precursor to the next slide.
  18. Elaborate on the role that system forensics plays in an organization, based on the discussion in the previous slide and the information given on this slide.
  19. Explain to the students that a system can be secured by sealing the system(s) that have been a part of the crime. This involves: Immediately sealing the system by removing the hard disk and other components of the system. Ensuring that no other routine activity is conducted, using any component of the system. Taking snapshots and back ups of all digital evidences such as documents, system files, and e-mails. Tell the students that the ‘chain of evidence’ is most critical to a system forensic investigation. It helps in reconstructing a crime occurred from the beginning to the end.
  20. Connect the information given on this slide to the initial discussion held on the different types of system-related crimes.
  21. Connect the information given on this slide to the initial discussion held on the different types of system-related crimes.
  22. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  23. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  24. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  25. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  26. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  27. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  28. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  29. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  30. Tell the students that the key words that they were told to note while discussing the definition of system forensics, will be elaborated as part of the system forensics process.
  31. Reiterate the concepts taught earlier by asking the given question.
  32. Reiterate the concepts taught earlier by asking the given question.
  33. Reiterate the concepts taught earlier by asking the given question.
  34. Reiterate the concepts taught earlier by asking the given question.
  35. Reiterate the concepts taught earlier by asking the given question.
  36. Reiterate the concepts taught earlier by asking the given question.