What are XML Namespaces? And how do you work with them?

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • XML Namespaces are an important aspect of working with Extensible Markup Language (XML) documents. The main idea about XML Namespaces is that they allow you to associate XML elements and attributes with globally unique identifiers (namespace names), which then allows you to more robustly write code for handling documents using those elements and attributes.
    In this video, we look at the history and motivation of XML Namespaces so that you can better understand why they were even created. We then look into practical aspects of working with them, including a demo with an XML editor (the Oxygen XML editor) and XPath expressions to explore how an XML document is using XML Namespaces. We also look at some good practices in terms of what to do and what to not do when working with XML Namespaces.
    00:00 Introduction
    00:28 XML Namespaces Overview
    00:50 XML Technology Overview
    01:30 Motivation for XML Namespaces
    09:53 Using XML Namespaces
    14:55 XML Namespaces Demo
    18:09 XML Namespaces Good Practices
    21:28 Wrap-Up
  • НаукаНаука

Комментарии • 22

  • @resilientmoney
    @resilientmoney Месяц назад +2

    Excellently explained. Thank you.

  • @LorenzoPeve
    @LorenzoPeve Месяц назад +1

    Great content. Thanks

  • @jonathanpryzby4029
    @jonathanpryzby4029 Год назад +5

    Hugely helpful. Youre totally right that when I see the URI, I was assuming there was a lot more magic going on that I didn't understand. Thanks for driving that point home, I dropped a like

    • @ErikWilde
      @ErikWilde  Год назад

      Thanks for the feedback. That's the number one thing that people tend to get wrong, and then it complicates things a lot. Thanks for watching!

  • @pezza100
    @pezza100 8 месяцев назад +1

    Superbly explained. I had really struggled with the concept of namespaces until I watched this. I shared the video with my team. Thanks!

    • @ErikWilde
      @ErikWilde  8 месяцев назад

      Thank you! Namespaces are still alive!

  • @Vincent-ht7eb
    @Vincent-ht7eb Год назад +1

    Thank. A really great video !

  • @10anmolguptateelex71
    @10anmolguptateelex71 11 месяцев назад +1

    03:03 good example

  • @diegomorais49
    @diegomorais49 11 месяцев назад

    Which editor is that used on the video?

    • @diegomorais49
      @diegomorais49 11 месяцев назад +1

      Oxygen XML Editor (nvm is payed...)

    • @ErikWilde
      @ErikWilde  11 месяцев назад

      You answered it yourself!

  • @ha5h
    @ha5h Год назад +2

    Is XML still relevant? 🙃

    • @ErikWilde
      @ErikWilde  Год назад +1

      yes it is, just wait and you'll see! it's not trending for sure, but you will still encounter many APIs and a lot of data that are only available through XML.

    • @IjonTichyBerlin
      @IjonTichyBerlin Год назад +3

      For sure, not sexy, but required as salt.

    • @michelbormans6054
      @michelbormans6054 Год назад

      Thumbs up, be it i suspect you making some statements you woul never make about json...

    • @ErikWilde
      @ErikWilde  Год назад +1

      @@michelbormans6054 True, but doesn't that make sense given that XML and JSON are two different things with different histories and (initial) design goals?

    • @Draculhuhn
      @Draculhuhn 12 дней назад

      I believe xml is used predominantly in exchanging medical data. That being said: xml is not likely to go extinct any time soon. This ML ist MADE for exchanging data in a heterogentic App universe like in clinical situations or medical research.

  • @ezequielbarbosadossantos6712
    @ezequielbarbosadossantos6712 6 месяцев назад

    Talked for 20 minutes and didn't really explain anything.

    • @ErikWilde
      @ErikWilde  6 месяцев назад +2

      What were you looking for? What do you think is missing?

    • @wisdomchoice2721
      @wisdomchoice2721 4 месяца назад

      is a label to avoid conflict of the same name ,how to differentiate between two different personne with the same name (element) it's with the different firstname (namespace)
      is like a spider on multiverse you have the same denomination of the different elements (Spiderman) but in different world/verse/space/xmlns .