What are XML Namespaces? And how do you work with them?
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
Excellently explained. Thank you.
Great content. Thanks
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
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!
Superbly explained. I had really struggled with the concept of namespaces until I watched this. I shared the video with my team. Thanks!
Thank you! Namespaces are still alive!
Thank. A really great video !
Thanks!!
03:03 good example
Thank you!
Which editor is that used on the video?
Oxygen XML Editor (nvm is payed...)
You answered it yourself!
Is XML still relevant? 🙃
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.
For sure, not sexy, but required as salt.
Thumbs up, be it i suspect you making some statements you woul never make about json...
@@michelbormans6054 True, but doesn't that make sense given that XML and JSON are two different things with different histories and (initial) design goals?
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.
Talked for 20 minutes and didn't really explain anything.
What were you looking for? What do you think is missing?
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 .