Hello, in this video we are going to look at getting the attribute values from an XML file. So we have the, you know, nodes these elements but what we can actually do is have an attribute and you know the way you would do in HTML, same format, you could call this you know, XYZ, whatever you want, let's say for coordinates or overview. And I'm gonna say two, we can remind that and let's do another one for this. Overview. Equal equals tu tu tu tu movie. Overview here is to do and you could add multiple attributes as well as per base, add another one in the same fashion.
Now for this also okay, If I reload that nothing changes, because when you actually get a specific element you get in this content, you want to get the attribute. So, we are going to say echo dollar note. So, this is the first one will refer to all of that. So what we can do, we can do if we put a square bracket here, we can easily specify the attribute. So, if I say overview, and you could do this if he was doing the other method, where you manually specifying which specific node he was doing that is, you know, fine as well. And what I'm going to do is this, and also at the start if I reload that, as you can see attribute reminder movie and old days.
So that's how you get attribute values. What I want you to do on the next task is add multiple attribute values and also add attribute values for to from heading and body and get them well. So that's it any questions, feel free to pop me a message and as usual, I look forward to seeing you in the next video.