Get Attribute Values

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€84.92
List Price:  €118.89
You save:  €33.97
£74.09
List Price:  £103.73
You save:  £29.63
CA$136.74
List Price:  CA$191.45
You save:  CA$54.70
A$149.12
List Price:  A$208.77
You save:  A$59.65
S$128.40
List Price:  S$179.76
You save:  S$51.36
HK$777.54
List Price:  HK$1,088.60
You save:  HK$311.05
CHF 78.84
List Price:  CHF 110.39
You save:  CHF 31.54
NOK kr1,000.59
List Price:  NOK kr1,400.86
You save:  NOK kr400.27
DKK kr634.30
List Price:  DKK kr888.05
You save:  DKK kr253.74
NZ$171.40
List Price:  NZ$239.97
You save:  NZ$68.56
د.إ367.21
List Price:  د.إ514.11
You save:  د.إ146.90
৳12,220.44
List Price:  ৳17,109.11
You save:  ৳4,888.66
₹8,982.11
List Price:  ₹12,575.31
You save:  ₹3,593.20
RM404.95
List Price:  RM566.95
You save:  RM162
₦145,037.08
List Price:  ₦203,057.71
You save:  ₦58,020.63
₨28,013.30
List Price:  ₨39,219.75
You save:  ₨11,206.44
฿3,106.61
List Price:  ฿4,349.39
You save:  ฿1,242.77
₺4,284.30
List Price:  ₺5,998.20
You save:  ₺1,713.89
B$552.06
List Price:  B$772.91
You save:  B$220.84
R1,666.56
List Price:  R2,333.26
You save:  R666.69
Лв165.95
List Price:  Лв232.34
You save:  Лв66.38
₩144,528.80
List Price:  ₩202,346.11
You save:  ₩57,817.30
₪318.57
List Price:  ₪446.01
You save:  ₪127.44
₱5,877.76
List Price:  ₱8,229.10
You save:  ₱2,351.33
¥15,598.30
List Price:  ¥21,838.24
You save:  ¥6,239.94
MX$1,793.80
List Price:  MX$2,511.40
You save:  MX$717.59
QR364.51
List Price:  QR510.32
You save:  QR145.81
P1,314.55
List Price:  P1,840.43
You save:  P525.87
KSh12,891.70
List Price:  KSh18,048.90
You save:  KSh5,157.19
E£4,753.93
List Price:  E£6,655.70
You save:  E£1,901.76
ብር15,558.93
List Price:  ብር21,783.13
You save:  ብር6,224.19
Kz91,219.48
List Price:  Kz127,710.93
You save:  Kz36,491.44
CLP$90,482.74
List Price:  CLP$126,679.46
You save:  CLP$36,196.71
CN¥702.32
List Price:  CN¥983.28
You save:  CN¥280.95
RD$6,268.37
List Price:  RD$8,775.97
You save:  RD$2,507.60
DA12,942.64
List Price:  DA18,120.22
You save:  DA5,177.57
FJ$226.89
List Price:  FJ$317.66
You save:  FJ$90.76
Q766.16
List Price:  Q1,072.65
You save:  Q306.49
GY$20,921.62
List Price:  GY$29,291.11
You save:  GY$8,369.48
ISK kr12,568.74
List Price:  ISK kr17,596.74
You save:  ISK kr5,028
DH912.39
List Price:  DH1,277.39
You save:  DH364.99
L1,677.58
List Price:  L2,348.67
You save:  L671.09
ден5,228.05
List Price:  ден7,319.48
You save:  ден2,091.43
MOP$801.02
List Price:  MOP$1,121.47
You save:  MOP$320.44
N$1,664.35
List Price:  N$2,330.15
You save:  N$665.80
C$3,680.29
List Price:  C$5,152.56
You save:  C$1,472.26
रु14,337.63
List Price:  रु20,073.25
You save:  रु5,735.62
S/336.50
List Price:  S/471.12
You save:  S/134.61
K431.40
List Price:  K603.98
You save:  K172.57
SAR375.02
List Price:  SAR525.05
You save:  SAR150.02
ZK2,257.52
List Price:  ZK3,160.62
You save:  ZK903.09
L432.48
List Price:  L605.49
You save:  L173
Kč2,059.85
List Price:  Kč2,883.88
You save:  Kč824.02
Ft33,002.86
List Price:  Ft46,205.32
You save:  Ft13,202.46
SEK kr917.03
List Price:  SEK kr1,283.88
You save:  SEK kr366.84
ARS$145,033.97
List Price:  ARS$203,053.37
You save:  ARS$58,019.39
Bs692.55
List Price:  Bs969.60
You save:  Bs277.04
COP$375,578.33
List Price:  COP$525,824.68
You save:  COP$150,246.35
₡49,946.85
List Price:  ₡69,927.60
You save:  ₡19,980.74
L2,635.99
List Price:  L3,690.49
You save:  L1,054.50
₲677,713.63
List Price:  ₲948,826.20
You save:  ₲271,112.56
$U3,912.84
List Price:  $U5,478.14
You save:  $U1,565.29
zł357.89
List Price:  zł501.07
You save:  zł143.17
Already have an account? Log In

Transcript

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.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.