Skip to main content
Taylor & Francis Group Logo
    Advanced Search

    Click here to search products using title name,author name and keywords.

    • Login
    • Hi, User  
      • Your Account
      • Logout
      Advanced Search

      Click here to search products using title name,author name and keywords.

      Breadcrumbs Section. Click here to navigate to respective pages.

      Chapter

      XML
      loading

      Chapter

      XML

      DOI link for XML

      XML book

      XML

      DOI link for XML

      XML book

      ByMark C. Lewis, Lisa Lacher
      BookIntroduction to Programming and Problem-Solving Using Scala

      Click here to navigate to parent product.

      Edition 2nd Edition
      First Published 2016
      Imprint Chapman and Hall/CRC
      Pages 20
      eBook ISBN 9781315382609
      Share
      Share

      ABSTRACT

      This chapter deals with XML, short for eXtensible Markup Language. XML is technically a completely language independent topic, Scala was developed with XML in mind and makes it easy to work with.

      In chapter 9, we learned how to read from and write to text files. The files that we used in that and following chapters are what are called “flat” text files. They have the data in them with nothing that tells us about the nature of the data other than formatting. The advantages flat files have are that they are fairly simple to read and write, and it can be both read and written with standard tools like a text editor, just like the one you use for your programs. The disadvantages are that it can be slow, and it lacks any inherent meaning; so, it is hard to move the information from one program to another. It is also somewhat error prone because so much information is in the formatting. XML addresses the latter disadvantage, without losing the advantages.

      T&F logoTaylor & Francis Group logo
      • Policies
        • Privacy Policy
        • Terms & Conditions
        • Cookie Policy
        • Privacy Policy
        • Terms & Conditions
        • Cookie Policy
      • Journals
        • Taylor & Francis Online
        • CogentOA
        • Taylor & Francis Online
        • CogentOA
      • Corporate
        • Taylor & Francis Group
        • Taylor & Francis Group
        • Taylor & Francis Group
        • Taylor & Francis Group
      • Help & Contact
        • Students/Researchers
        • Librarians/Institutions
        • Students/Researchers
        • Librarians/Institutions
      • Connect with us

      Connect with us

      Registered in England & Wales No. 3099067
      5 Howick Place | London | SW1P 1WG © 2022 Informa UK Limited