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

Sdílet
Vložit
  • čas přidán 8. 07. 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
  • Věda a technologie

Komentáře • 22

  • @resilientmoney
    @resilientmoney Před měsícem +2

    Excellently explained. Thank you.

  • @LorenzoPeve
    @LorenzoPeve Před 2 měsíci +1

    Great content. Thanks

  • @jonathanpryzby4029
    @jonathanpryzby4029 Před rokem +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  Před rokem

      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 Před 8 měsíci +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  Před 8 měsíci

      Thank you! Namespaces are still alive!

  • @Vincent-ht7eb
    @Vincent-ht7eb Před rokem +1

    Thank. A really great video !

  • @10anmolguptateelex71
    @10anmolguptateelex71 Před 11 měsíci +1

    03:03 good example

  • @diegomorais49
    @diegomorais49 Před rokem

    Which editor is that used on the video?

  • @ha5h
    @ha5h Před rokem +2

    Is XML still relevant? 🙃

    • @ErikWilde
      @ErikWilde  Před rokem +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 Před rokem +3

      For sure, not sexy, but required as salt.

    • @michelbormans6054
      @michelbormans6054 Před rokem

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

    • @ErikWilde
      @ErikWilde  Před rokem +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 Před 14 dny

      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

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

    • @ErikWilde
      @ErikWilde  Před 6 měsíci +2

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

    • @wisdomchoice2721
      @wisdomchoice2721 Před 4 měsíci

      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 .