G currency jpy or currencyusd func8ons that take

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ountry_name> <ISO_3166- 1_Alpha- 2_Code_element>AF </ISO_3166- 1_Alpha- 2_Code_element> DRAW the TREE </ISO_3166- 1_Entry> <ISO_3166- 1_Entry> Write an Xpath <ISO_3166- 1_Country_name>ALBANIA expressions to </ISO_3166- 1_Country_name> locate name and <ISO_3166- 1_Alpha- 2_Code_element>AL abbrevia?ons </ISO_3166- 1_Alpha- 2_Code_element> </ISO_3166- 1_Entry> World Health Factbook <factbook> …. <field dollars="false” unit="(deaths/1,000 live births)" rankorder="1” name="Infant mortality rate" id="f2091"> <descrip8on> This entry … number of deaths of infants under one year old in a given year per 1,000 live births.. </descrip8on> <rank number="121.63" dateEs8mated="true" dateLatest="2012- 12- 31” dateEarliest="2012- 01- 01" dateText="2012 est." country="af"/> <rank number="109.98" dateEs8mated="true" dateLatest="2012- 12- 31” dateEarliest="2012- 01- 01" dateText="2012 est." country="ng"/> … </field> Write Xpath expression to locate country code and death rate XPath syntax •  XPath is a language for loca8ng content in XML documents. •  An XPath expression is a loca%on path that is made up of loca%on steps separated by / •  Each step has three parts: the axis, nodetest, and predicate •  Syntax: axis::nodetest[predicate] ! XPath syntax axis::nodetest[predicate] ! ! •  The axis is the direc8on to look •  The nodetest is typically a node n...
View Full Document

Ask a homework question - tutors are online