SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Extensible Markup Language
Objectives


                In this session, you will learn to:
                   Perform conditional formatting
                   Use XPath pattern
                   Present data in different formats




     Ver. 1.0                      Session 7           Slide 1 of 26
Extensible Markup Language
Performing Conditional Formatting


                Conditional formatting refers to the formatting of data based
                on a specific condition.
                The two elements used for conditional formatting are:
                   if
                   choose




     Ver. 1.0                     Session 7                           Slide 2 of 26
Extensible Markup Language
Performing Conditional Formatting (Contd.)


                Conditional formatting refers to the formatting of data based
                on a specific condition.
                The two elements used for conditional formatting are:
                 – if                          Provides an if-then construct.
                 – choose                      Follows the syntax:
                                              <xsl:if test="condition">
                                              [actions to be performed if the
                                               condition is true]
                                              </xsl:if>




     Ver. 1.0                     Session 7                             Slide 3 of 26
Extensible Markup Language
Performing Conditional Formatting (Contd.)


                Conditional formatting refers to the formatting of data based
                on a specified condition.
                The two elements used for conditional formatting are:
                 – if
                 – choose
                                                Enables you to choose from two or more
                                              possible courses of action by testing multiple
                                              conditions.
                                                Follows the syntax:
                                              <xsl:choose>
                                              [action to be taken]
                                              </xsl:when>
                                              :
                                              :
                                              <xsl:otherwise>
                                              [action to be taken]
                                              </xsl:otherwise>
                                              </xsl:choose>



     Ver. 1.0                     Session 7                                         Slide 4 of 26
Extensible Markup Language
Identifying Comparison and Boolean Operators


                •   Used with the if and choose elements to narrow down the
                    formatting criteria.
                •   The following table lists various comparison and Boolean
                    operators.
                      Operator   Meaning                    Example
                                                            PRICE[. = 20]
                        =        Equal to                   PRODUCTNAME[. = ‘Mini Bus’]
                                                            PRICE[. != 20]
                        !=       Not equal to
                                                            PRODUCTNAME[. != ‘Barbie Doll’]
                       &lt;      Less than                  PRICE[. &lt; 20]
                       &gt;      Greater than               PRICE[. &gt; 20]
                      &lt;=      Less than or equal to      PRICE[. &lt;= 20]
                      &gt;=      Greater than or equal to   PRICE[. &gt;= 20]
                      and        Logical AND                PRICE[. &gt 20 and . &lt; 30]

                       or        Logical OR                 PRICE[. = 20 or . = 45]
                      not        Negation operator          PRICE[not(. = 30)]


     Ver. 1.0                                   Session 7                                 Slide 5 of 26
Extensible Markup Language
Using XPath


                XPath:
                      Is used to search and retrieve information from an XML file.
                      Treats an XML document as a tree of interrelated branches
                      and nodes, as shown in the following figure.
                                     PRODUCTDATA




                                        PRODUCT




                        CATEGORY
      PRODID=“P001”                  PRODUCTNAME     DESCRIPTION         PRICE        QOH
                         =“TOY”


                                                       This toy is for
                                                                           75           54
                                         Mini Bus      children aged
                                                        4 and above



     Ver. 1.0                         Session 7                                  Slide 6 of 26
Extensible Markup Language
Describing XPath Expressions


                XPath expressions can be used to retrieve data based on
                specific conditions.
                XPath expressions identify the nodes in an XML document
                based on their names and values.
                The following table lists the operators that can be used to
                create XPath expressions.
                Operator/Special   Example          Description
                Character
                /                  /PRODUCTDATA     Selects the immediate child elements of
                                                    PRODUCTDATA. If this operator occurs at the start
                                                    of the pattern, it indicates that the child elements
                                                    should be selected from the root node.
                //                 //PRODUCTNAME    Searches for the specified element at any node
                                                    level.
                .                  .PRODUCTNAME     Indicates the current context.
                ..                 ../PRODUCTNAME   Selects the PRODUCTNAME element, which exists
                                                    within the parent of the current element.
                *                  *                Selects all elements.


     Ver. 1.0                           Session 7                                            Slide 7 of 26
Extensible Markup Language
Describing XPath Expressions (Contd.)



                Operator/Special   Example              Description
                Character
                @                  @PRODUCTID           Used as a prefix for the attribute.
                @*                 @*                   Selects all attributes.
                :                  :                    Separates the namespace prefix from the element
                                                        or attribute name.
                ( )                (PRICE*QUANTITY)     Used to group operations.
                [ ]                [@PRODUCTID='P001'   Applies a filter pattern.
                                   ]
                +                  num1 + num2          Returns the sum of two numbers.
                -                  num1 - num2          Returns the difference of two numbers.
                *                  num1 * num2          Returns the product of two numbers.
                div                num1 div num2        Returns the quotient of two numbers.
                mod                num1 mod num2        Returns the modulus, that is, the remainder of
                                                        integer division.




     Ver. 1.0                           Session 7                                                Slide 8 of 26
Extensible Markup Language
Describing XPath Functions


                XPath functions can be used to calculate and present data
                as a report.
                The various categories of functions in XPath are:
                – string: Used to perform string operations.
                – node-set: Used to manipulate node-sets or to return
                  information about them.
                – Boolean: Used to evaluate an expression and return true or
                  false.
                – numeric: Used for numeric calculations.




     Ver. 1.0                    Session 7                            Slide 9 of 26
Extensible Markup Language
Demo: Using XPath Patterns in XSLT Style Sheets


                Problem Statement:
                   The executive at CyberShoppe needs to display the
                   product-wise order report. The product and order data is stored
                   in an XML document. This data includes product details, such
                   as product ID, name, and price per unit. For each product, the
                   details about all the orders placed against that product are also
                   stored in the document. The order details include the order
                   number, shipping address, total quantity ordered and the order
                   value. The total sales value for each product also needs to be
                   displayed.




     Ver. 1.0                      Session 7                               Slide 10 of 26
Extensible Markup Language
Demo: Using XPath Patterns in XSLT Style Sheets (Contd.)


                Problem Statement (Contd.):
                  The following figure illustrates the data display format.




     Ver. 1.0                       Session 7                                 Slide 11 of 26
Extensible Markup Language
Demo: Using XPath Patterns in XSLT Style Sheets (Contd.)


                Problem Statement (Contd.):
                   The following figure displays the structure of the corresponding
                   XML document.

                              SUMMARY


                                           PRODUCT


                                                           ORDER

                                                          SHIPPING
                                                          ADDRESS


                                                         QUANTITY




     Ver. 1.0                      Session 7                              Slide 12 of 26
Extensible Markup Language
Demo: Creating a Style Sheet Using an XSLT Editor


                Problem Statement:
                  The employee information of an organization is stored in the file
                  employee.xml. The data stored in this file is as follows:
                    <?xml version="1.0"?>
                    <EMPDETAILS>
                         <EMP EMPID="E001">
                              <ENAME>Karen</ENAME>
                              <DESG>MANAGER</DESG>
                              <DEPT>SALES</DEPT>
                              <SALARY>250</SALARY>
                         </EMP>
                         <EMP EMPID="E002">
                              <ENAME>George</ENAME>
                              <DESG>Executive</DESG>
                              <DEPT>ACCOUNTS</DEPT>
                              <SALARY>300</SALARY>

     Ver. 1.0                     Session 7                               Slide 13 of 26
Extensible Markup Language
Demo: Creating a Style Sheet Using an XSLT Editor (Contd.)


                Problem Statement (Contd.):
                    </EMP>
                    <EMP EMPID="E003">
                              <ENAME>Steve</ENAME>
                              <DESG>Manager</DESG>
                              <DEPT>FINANCE</DEPT>
                              <SALARY>320</SALARY>
                         </EMP>
                         <EMP EMPID="E004">
                              <ENAME>Ricky</ENAME>
                              <DESG>Clerk</DESG>
                              <DEPT>SALES</DEPT>
                              <SALARY>150</SALARY>
                         </EMP>




     Ver. 1.0                   Session 7                    Slide 14 of 26
Extensible Markup Language
Demo: Creating a Style Sheet Using an XSLT Editor (Contd.)


                Problem Statement (Contd.):
                     <EMP EMPID="E005">
                               <ENAME>Richard</ENAME>
                               <DESG>Divisional Manager</DESG>
                               <DEPT>MARKETING</DEPT>
                               <SALARY>375</SALARY>
                          </EMP>
                     </EMPDETAILS>
                   Display the name, designation, and department of the
                   employees earning higher than $250 in green and the rest in
                   red. You need to display the details as a bulleted list. Create
                   the style sheet using an XSLT editor.




     Ver. 1.0                      Session 7                               Slide 15 of 26
Extensible Markup Language
Displaying Data in a Tabular Format


                The features of HTML and XSLT can be combined to format
                the data from an XML document for appropriate display.
                The HTML code can be embedded in an XSLT document to
                display the data.




     Ver. 1.0                   Session 7                       Slide 16 of 26
Extensible Markup Language
Displaying Data in a Tabular Format (Contd.)


                     The following table lists the HTML elements that are
                     required to display data in a tabular format.

                HTML Tag       Description


                TABLE          Acts as a container for all other tags used to specify the appearance of data in
                               a table. It has attributes, such as border, background color, cellpadding,
                               cellspacing, and width that enable you to specify the appearance of the table.

                               Used to specify headings for a table.
                THEAD

                TBODY          Used as a parent for the TR and TD elements.


                TR             Used to represent a row in a table. This tag acts as a container for the TH and
                               TD elements.

                TH             Used to add column headings.


                TD             Used to specify the data to be displayed in columns.



     Ver. 1.0                                Session 7                                                Slide 17 of 26
Extensible Markup Language
Demo: Displaying Data in a Table


                Problem Statement:
                   The details about the books that are available for sale at
                   CyberShoppe are stored in an XML document. The book
                   details, such as book ID, title, rate, author first name, and
                   author last name should be displayed in a table. The first and
                   last names of the author should be displayed in a single
                   column, AUTHOR(S). If a book has multiple authors, their
                   names should be displayed as comma‑separated values. The
                   following figure shows a sample output.




     Ver. 1.0                      Session 7                              Slide 18 of 26
Extensible Markup Language
Exercises


                Problem Statement:
                  The list of products sold at CyberShoppe needs to be
                  displayed. These products need to be categorized based on
                  their prices, with products priced higher than $50 displayed in
                  red and the rest in green. The product name, description, price,
                  and quantity on hand of each product should be displayed, as
                  shown in the following figure.




                   The product.xml file will be provided to you.

     Ver. 1.0                     Session 7                              Slide 19 of 26
Extensible Markup Language
Practice Questions


                • You need to display the details of all employees whose
                  salary is equal to $1200. The salary of an employee is
                  represented using the SALARY element in an XML
                  document. Which of the following statements will you use to
                  filter the employee data based on the specified criterion?
                   a.   <xsl:if   test=“SALARY[. = 1200]”>
                   b.   <xsl:if   test=“SALARY[. = ‘1200’] />
                   c.   <xsl:if   select=“SALARY[. = ‘1200’]”>
                   d.   <xsl:if   match=“SALARY[. = 1200]”>


                  Answer:
                   a. <xsl:if test=”SALARY[. = 1200]”>



     Ver. 1.0                        Session 7                        Slide 20 of 26
Extensible Markup Language
Practice Questions


                What will the following XPath expression return?
                starts-with(“Hello World”, “world”)
                 a.   0
                 b.   True
                 c.   False
                 d.   7




                Answer:
                 c. False



     Ver. 1.0                    Session 7                         Slide 21 of 26
Extensible Markup Language
Practice Questions


                What will the following XPath expression return?
                sum(100 + 200)
                 a.   300
                 b.   NaN
                 c.   The expression will result in an error.
                 d.   Null




                Answer:
                 c. The expression will result in an error.



     Ver. 1.0                         Session 7                    Slide 22 of 26
Extensible Markup Language
Practice Questions


                Consider the following statements:
                Statement A: XPath treats an XML document as a tree of
                inter-related branches and nodes.
                Statement B: A node can be of any type, such as an
                element, attribute, processing instruction (PI), comment,
                text, or namespace.
                Which of the following is correct about the preceding
                statements?
                 a.   Statement A is True, and Statement B is False.
                 b.   Statement A is False, and Statement B is True.
                 c.   Both, Statement A and Statement B, are True.
                 d.   Both, Statement A and Statement B, are False.
                Answer:
                 c. Both, Statement A and Statement B, are True.

     Ver. 1.0                        Session 7                         Slide 23 of 26
Extensible Markup Language
Practice Questions


                • Which one of the following statements will you use to
                  display the value of an attribute named partno?
                   a.   <xsl:text select=“partno”/>
                   b.   <xsl:value-of select= “@partno” />
                   c.   <xsl:value-of select= “partno” />
                   d.   <xsl:value-of select= “@partno” >




                  Answer:
                   b. <xsl:value-of select= “@partno” />



     Ver. 1.0                       Session 7                         Slide 24 of 26
Extensible Markup Language
Summary


               In this session, you learned that:
                  The if and choose elements in XSLT allow you to format data
                  based on a condition.
                  The if element provides a simple if-then construct. It has a
                  single test attribute, which specifies the criteria for performing
                  an action.
                  The choose element selects one element from a number of
                  possible alternatives. It consists of a number of when
                  elements, followed by an optional otherwise element.
                  The XPath language is used to search and retrieve information
                  from an XML document.
                  The primary purpose of XPath is to address parts of an XML
                  document, and manipulate strings, numbers, and Boolean
                  values.



    Ver. 1.0                      Session 7                                Slide 25 of 26
Extensible Markup Language
Summary (Contd.)


                 XPath expressions can match specific patterns, retrieve
                 results, and perform additional operations relative to the
                 context of the returned nodes.
                 XPath provides the following types of functions:
                   string: Used for basic string operations, such as finding the
                    length of a string or changing a string from uppercase to
                    lowercase.
                   node-set: Used to manipulate node sets or return information
                    about node sets.
                   Boolean: Used to return either true or false based on the
                    argument passed to it.
                   numeric: Used to perform calculations on numeric values.
                The HTML code in an XSLT style sheet is used to display data
                 in different formats.
                The import element is used to import one XSLT style sheet to
                 another XSLT style sheet.

    Ver. 1.0                      Session 7                                Slide 26 of 26

Weitere ähnliche Inhalte

Andere mochten auch

Xml session02
Xml session02Xml session02
Xml session02Niit Care
 
15 asp.net session22
15 asp.net session2215 asp.net session22
15 asp.net session22Niit Care
 
Net framework session03
Net framework session03Net framework session03
Net framework session03Niit Care
 
Deawsj 7 ppt-1_c
Deawsj 7 ppt-1_cDeawsj 7 ppt-1_c
Deawsj 7 ppt-1_cNiit Care
 
Xml session05
Xml session05Xml session05
Xml session05Niit Care
 
15 ooad uml-20
15 ooad uml-2015 ooad uml-20
15 ooad uml-20Niit Care
 

Andere mochten auch (8)

Xml session02
Xml session02Xml session02
Xml session02
 
15 asp.net session22
15 asp.net session2215 asp.net session22
15 asp.net session22
 
Net framework session03
Net framework session03Net framework session03
Net framework session03
 
Deawsj 7 ppt-1_c
Deawsj 7 ppt-1_cDeawsj 7 ppt-1_c
Deawsj 7 ppt-1_c
 
Xml session05
Xml session05Xml session05
Xml session05
 
15 ooad uml-20
15 ooad uml-2015 ooad uml-20
15 ooad uml-20
 
Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 

Ähnlich wie Xml session07

03 sm3 xml_xp_06
03 sm3 xml_xp_0603 sm3 xml_xp_06
03 sm3 xml_xp_06Niit Care
 
XML - Displaying Data ith XSLT
XML - Displaying Data ith XSLTXML - Displaying Data ith XSLT
XML - Displaying Data ith XSLTDudy Ali
 
Using SPMetal for faster SharePoint development
Using SPMetal for faster SharePoint developmentUsing SPMetal for faster SharePoint development
Using SPMetal for faster SharePoint developmentPranav Sharma
 
Using SP Metal for faster share point development
Using SP Metal for faster share point developmentUsing SP Metal for faster share point development
Using SP Metal for faster share point developmentPranav Sharma
 
Qtp Training
Qtp TrainingQtp Training
Qtp Trainingmehramit
 
Form personalization
Form personalization Form personalization
Form personalization nikhilgla
 
02 sm3 xml_xp_03
02 sm3 xml_xp_0302 sm3 xml_xp_03
02 sm3 xml_xp_03Niit Care
 
OR Mapping- nhibernate Presentation
OR Mapping- nhibernate PresentationOR Mapping- nhibernate Presentation
OR Mapping- nhibernate PresentationShahzad
 
Qtp commands
Qtp commandsQtp commands
Qtp commandsG.C Reddy
 
Introduction to Client-Side Javascript
Introduction to Client-Side JavascriptIntroduction to Client-Side Javascript
Introduction to Client-Side JavascriptJulie Iskander
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentationtechgajanan
 
Toward a Standardized XMAN Presentation Layer with Consideration of User Inte...
Toward a Standardized XMAN Presentation Layer with Consideration of User Inte...Toward a Standardized XMAN Presentation Layer with Consideration of User Inte...
Toward a Standardized XMAN Presentation Layer with Consideration of User Inte...Bassel Saab
 
Nhibernate Part 2
Nhibernate   Part 2Nhibernate   Part 2
Nhibernate Part 2guest075fec
 
JMeter Post-Processors
JMeter Post-ProcessorsJMeter Post-Processors
JMeter Post-ProcessorsLoadium
 
Workshop 23: ReactJS, React & Redux testing
Workshop 23: ReactJS, React & Redux testingWorkshop 23: ReactJS, React & Redux testing
Workshop 23: ReactJS, React & Redux testingVisual Engineering
 

Ähnlich wie Xml session07 (20)

03 sm3 xml_xp_06
03 sm3 xml_xp_0603 sm3 xml_xp_06
03 sm3 xml_xp_06
 
XML - Displaying Data ith XSLT
XML - Displaying Data ith XSLTXML - Displaying Data ith XSLT
XML - Displaying Data ith XSLT
 
Using SPMetal for faster SharePoint development
Using SPMetal for faster SharePoint developmentUsing SPMetal for faster SharePoint development
Using SPMetal for faster SharePoint development
 
Hibernate
HibernateHibernate
Hibernate
 
Hibernate
HibernateHibernate
Hibernate
 
treeview
treeviewtreeview
treeview
 
treeview
treeviewtreeview
treeview
 
Using SP Metal for faster share point development
Using SP Metal for faster share point developmentUsing SP Metal for faster share point development
Using SP Metal for faster share point development
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Form personalization
Form personalization Form personalization
Form personalization
 
02 sm3 xml_xp_03
02 sm3 xml_xp_0302 sm3 xml_xp_03
02 sm3 xml_xp_03
 
OR Mapping- nhibernate Presentation
OR Mapping- nhibernate PresentationOR Mapping- nhibernate Presentation
OR Mapping- nhibernate Presentation
 
Struts 2
Struts 2Struts 2
Struts 2
 
Qtp commands
Qtp commandsQtp commands
Qtp commands
 
Introduction to Client-Side Javascript
Introduction to Client-Side JavascriptIntroduction to Client-Side Javascript
Introduction to Client-Side Javascript
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentation
 
Toward a Standardized XMAN Presentation Layer with Consideration of User Inte...
Toward a Standardized XMAN Presentation Layer with Consideration of User Inte...Toward a Standardized XMAN Presentation Layer with Consideration of User Inte...
Toward a Standardized XMAN Presentation Layer with Consideration of User Inte...
 
Nhibernate Part 2
Nhibernate   Part 2Nhibernate   Part 2
Nhibernate Part 2
 
JMeter Post-Processors
JMeter Post-ProcessorsJMeter Post-Processors
JMeter Post-Processors
 
Workshop 23: ReactJS, React & Redux testing
Workshop 23: ReactJS, React & Redux testingWorkshop 23: ReactJS, React & Redux testing
Workshop 23: ReactJS, React & Redux testing
 

Mehr von Niit Care (20)

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
 
Dacj 1-3 b
Dacj 1-3 bDacj 1-3 b
Dacj 1-3 b
 
Dacj 1-3 a
Dacj 1-3 aDacj 1-3 a
Dacj 1-3 a
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
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...apidays
 
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.pdfsudhanshuwaghmare1
 
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 Takeoffsammart93
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
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 ModelDeepika Singh
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
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 FMESafe Software
 
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, Adobeapidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
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...Orbitshub
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
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 connectorsNanddeep Nachan
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 

Kürzlich hochgeladen (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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...
 
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
 
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
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
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...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

Xml session07

  • 1. Extensible Markup Language Objectives In this session, you will learn to: Perform conditional formatting Use XPath pattern Present data in different formats Ver. 1.0 Session 7 Slide 1 of 26
  • 2. Extensible Markup Language Performing Conditional Formatting Conditional formatting refers to the formatting of data based on a specific condition. The two elements used for conditional formatting are: if choose Ver. 1.0 Session 7 Slide 2 of 26
  • 3. Extensible Markup Language Performing Conditional Formatting (Contd.) Conditional formatting refers to the formatting of data based on a specific condition. The two elements used for conditional formatting are: – if Provides an if-then construct. – choose Follows the syntax: <xsl:if test="condition"> [actions to be performed if the condition is true] </xsl:if> Ver. 1.0 Session 7 Slide 3 of 26
  • 4. Extensible Markup Language Performing Conditional Formatting (Contd.) Conditional formatting refers to the formatting of data based on a specified condition. The two elements used for conditional formatting are: – if – choose Enables you to choose from two or more possible courses of action by testing multiple conditions. Follows the syntax: <xsl:choose> [action to be taken] </xsl:when> : : <xsl:otherwise> [action to be taken] </xsl:otherwise> </xsl:choose> Ver. 1.0 Session 7 Slide 4 of 26
  • 5. Extensible Markup Language Identifying Comparison and Boolean Operators • Used with the if and choose elements to narrow down the formatting criteria. • The following table lists various comparison and Boolean operators. Operator Meaning Example PRICE[. = 20] = Equal to PRODUCTNAME[. = ‘Mini Bus’] PRICE[. != 20] != Not equal to PRODUCTNAME[. != ‘Barbie Doll’] &lt; Less than PRICE[. &lt; 20] &gt; Greater than PRICE[. &gt; 20] &lt;= Less than or equal to PRICE[. &lt;= 20] &gt;= Greater than or equal to PRICE[. &gt;= 20] and Logical AND PRICE[. &gt 20 and . &lt; 30] or Logical OR PRICE[. = 20 or . = 45] not Negation operator PRICE[not(. = 30)] Ver. 1.0 Session 7 Slide 5 of 26
  • 6. Extensible Markup Language Using XPath XPath: Is used to search and retrieve information from an XML file. Treats an XML document as a tree of interrelated branches and nodes, as shown in the following figure. PRODUCTDATA PRODUCT CATEGORY PRODID=“P001” PRODUCTNAME DESCRIPTION PRICE QOH =“TOY” This toy is for 75 54 Mini Bus children aged 4 and above Ver. 1.0 Session 7 Slide 6 of 26
  • 7. Extensible Markup Language Describing XPath Expressions XPath expressions can be used to retrieve data based on specific conditions. XPath expressions identify the nodes in an XML document based on their names and values. The following table lists the operators that can be used to create XPath expressions. Operator/Special Example Description Character / /PRODUCTDATA Selects the immediate child elements of PRODUCTDATA. If this operator occurs at the start of the pattern, it indicates that the child elements should be selected from the root node. // //PRODUCTNAME Searches for the specified element at any node level. . .PRODUCTNAME Indicates the current context. .. ../PRODUCTNAME Selects the PRODUCTNAME element, which exists within the parent of the current element. * * Selects all elements. Ver. 1.0 Session 7 Slide 7 of 26
  • 8. Extensible Markup Language Describing XPath Expressions (Contd.) Operator/Special Example Description Character @ @PRODUCTID Used as a prefix for the attribute. @* @* Selects all attributes. : : Separates the namespace prefix from the element or attribute name. ( ) (PRICE*QUANTITY) Used to group operations. [ ] [@PRODUCTID='P001' Applies a filter pattern. ] + num1 + num2 Returns the sum of two numbers. - num1 - num2 Returns the difference of two numbers. * num1 * num2 Returns the product of two numbers. div num1 div num2 Returns the quotient of two numbers. mod num1 mod num2 Returns the modulus, that is, the remainder of integer division. Ver. 1.0 Session 7 Slide 8 of 26
  • 9. Extensible Markup Language Describing XPath Functions XPath functions can be used to calculate and present data as a report. The various categories of functions in XPath are: – string: Used to perform string operations. – node-set: Used to manipulate node-sets or to return information about them. – Boolean: Used to evaluate an expression and return true or false. – numeric: Used for numeric calculations. Ver. 1.0 Session 7 Slide 9 of 26
  • 10. Extensible Markup Language Demo: Using XPath Patterns in XSLT Style Sheets Problem Statement: The executive at CyberShoppe needs to display the product-wise order report. The product and order data is stored in an XML document. This data includes product details, such as product ID, name, and price per unit. For each product, the details about all the orders placed against that product are also stored in the document. The order details include the order number, shipping address, total quantity ordered and the order value. The total sales value for each product also needs to be displayed. Ver. 1.0 Session 7 Slide 10 of 26
  • 11. Extensible Markup Language Demo: Using XPath Patterns in XSLT Style Sheets (Contd.) Problem Statement (Contd.): The following figure illustrates the data display format. Ver. 1.0 Session 7 Slide 11 of 26
  • 12. Extensible Markup Language Demo: Using XPath Patterns in XSLT Style Sheets (Contd.) Problem Statement (Contd.): The following figure displays the structure of the corresponding XML document. SUMMARY PRODUCT ORDER SHIPPING ADDRESS QUANTITY Ver. 1.0 Session 7 Slide 12 of 26
  • 13. Extensible Markup Language Demo: Creating a Style Sheet Using an XSLT Editor Problem Statement: The employee information of an organization is stored in the file employee.xml. The data stored in this file is as follows: <?xml version="1.0"?> <EMPDETAILS> <EMP EMPID="E001"> <ENAME>Karen</ENAME> <DESG>MANAGER</DESG> <DEPT>SALES</DEPT> <SALARY>250</SALARY> </EMP> <EMP EMPID="E002"> <ENAME>George</ENAME> <DESG>Executive</DESG> <DEPT>ACCOUNTS</DEPT> <SALARY>300</SALARY> Ver. 1.0 Session 7 Slide 13 of 26
  • 14. Extensible Markup Language Demo: Creating a Style Sheet Using an XSLT Editor (Contd.) Problem Statement (Contd.): </EMP> <EMP EMPID="E003"> <ENAME>Steve</ENAME> <DESG>Manager</DESG> <DEPT>FINANCE</DEPT> <SALARY>320</SALARY> </EMP> <EMP EMPID="E004"> <ENAME>Ricky</ENAME> <DESG>Clerk</DESG> <DEPT>SALES</DEPT> <SALARY>150</SALARY> </EMP> Ver. 1.0 Session 7 Slide 14 of 26
  • 15. Extensible Markup Language Demo: Creating a Style Sheet Using an XSLT Editor (Contd.) Problem Statement (Contd.): <EMP EMPID="E005"> <ENAME>Richard</ENAME> <DESG>Divisional Manager</DESG> <DEPT>MARKETING</DEPT> <SALARY>375</SALARY> </EMP> </EMPDETAILS> Display the name, designation, and department of the employees earning higher than $250 in green and the rest in red. You need to display the details as a bulleted list. Create the style sheet using an XSLT editor. Ver. 1.0 Session 7 Slide 15 of 26
  • 16. Extensible Markup Language Displaying Data in a Tabular Format The features of HTML and XSLT can be combined to format the data from an XML document for appropriate display. The HTML code can be embedded in an XSLT document to display the data. Ver. 1.0 Session 7 Slide 16 of 26
  • 17. Extensible Markup Language Displaying Data in a Tabular Format (Contd.) The following table lists the HTML elements that are required to display data in a tabular format. HTML Tag Description TABLE Acts as a container for all other tags used to specify the appearance of data in a table. It has attributes, such as border, background color, cellpadding, cellspacing, and width that enable you to specify the appearance of the table. Used to specify headings for a table. THEAD TBODY Used as a parent for the TR and TD elements. TR Used to represent a row in a table. This tag acts as a container for the TH and TD elements. TH Used to add column headings. TD Used to specify the data to be displayed in columns. Ver. 1.0 Session 7 Slide 17 of 26
  • 18. Extensible Markup Language Demo: Displaying Data in a Table Problem Statement: The details about the books that are available for sale at CyberShoppe are stored in an XML document. The book details, such as book ID, title, rate, author first name, and author last name should be displayed in a table. The first and last names of the author should be displayed in a single column, AUTHOR(S). If a book has multiple authors, their names should be displayed as comma‑separated values. The following figure shows a sample output. Ver. 1.0 Session 7 Slide 18 of 26
  • 19. Extensible Markup Language Exercises Problem Statement: The list of products sold at CyberShoppe needs to be displayed. These products need to be categorized based on their prices, with products priced higher than $50 displayed in red and the rest in green. The product name, description, price, and quantity on hand of each product should be displayed, as shown in the following figure. The product.xml file will be provided to you. Ver. 1.0 Session 7 Slide 19 of 26
  • 20. Extensible Markup Language Practice Questions • You need to display the details of all employees whose salary is equal to $1200. The salary of an employee is represented using the SALARY element in an XML document. Which of the following statements will you use to filter the employee data based on the specified criterion? a. <xsl:if test=“SALARY[. = 1200]”> b. <xsl:if test=“SALARY[. = ‘1200’] /> c. <xsl:if select=“SALARY[. = ‘1200’]”> d. <xsl:if match=“SALARY[. = 1200]”> Answer: a. <xsl:if test=”SALARY[. = 1200]”> Ver. 1.0 Session 7 Slide 20 of 26
  • 21. Extensible Markup Language Practice Questions What will the following XPath expression return? starts-with(“Hello World”, “world”) a. 0 b. True c. False d. 7 Answer: c. False Ver. 1.0 Session 7 Slide 21 of 26
  • 22. Extensible Markup Language Practice Questions What will the following XPath expression return? sum(100 + 200) a. 300 b. NaN c. The expression will result in an error. d. Null Answer: c. The expression will result in an error. Ver. 1.0 Session 7 Slide 22 of 26
  • 23. Extensible Markup Language Practice Questions Consider the following statements: Statement A: XPath treats an XML document as a tree of inter-related branches and nodes. Statement B: A node can be of any type, such as an element, attribute, processing instruction (PI), comment, text, or namespace. Which of the following is correct about the preceding statements? a. Statement A is True, and Statement B is False. b. Statement A is False, and Statement B is True. c. Both, Statement A and Statement B, are True. d. Both, Statement A and Statement B, are False. Answer: c. Both, Statement A and Statement B, are True. Ver. 1.0 Session 7 Slide 23 of 26
  • 24. Extensible Markup Language Practice Questions • Which one of the following statements will you use to display the value of an attribute named partno? a. <xsl:text select=“partno”/> b. <xsl:value-of select= “@partno” /> c. <xsl:value-of select= “partno” /> d. <xsl:value-of select= “@partno” > Answer: b. <xsl:value-of select= “@partno” /> Ver. 1.0 Session 7 Slide 24 of 26
  • 25. Extensible Markup Language Summary In this session, you learned that: The if and choose elements in XSLT allow you to format data based on a condition. The if element provides a simple if-then construct. It has a single test attribute, which specifies the criteria for performing an action. The choose element selects one element from a number of possible alternatives. It consists of a number of when elements, followed by an optional otherwise element. The XPath language is used to search and retrieve information from an XML document. The primary purpose of XPath is to address parts of an XML document, and manipulate strings, numbers, and Boolean values. Ver. 1.0 Session 7 Slide 25 of 26
  • 26. Extensible Markup Language Summary (Contd.) XPath expressions can match specific patterns, retrieve results, and perform additional operations relative to the context of the returned nodes. XPath provides the following types of functions:  string: Used for basic string operations, such as finding the length of a string or changing a string from uppercase to lowercase.  node-set: Used to manipulate node sets or return information about node sets.  Boolean: Used to return either true or false based on the argument passed to it.  numeric: Used to perform calculations on numeric values.  The HTML code in an XSLT style sheet is used to display data in different formats.  The import element is used to import one XSLT style sheet to another XSLT style sheet. Ver. 1.0 Session 7 Slide 26 of 26

Hinweis der Redaktion

  1. 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.
  2. 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.
  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. 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.
  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. 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.
  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. 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.
  19. 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.
  20. Reiterate the concepts taught earlier by asking the given question.
  21. Reiterate the concepts taught earlier by asking the given question.
  22. Reiterate the concepts taught earlier by asking the given question.
  23. Reiterate the concepts taught earlier by asking the given question.
  24. Reiterate the concepts taught earlier by asking the given question.