XPath con escenario de doentes

De MediaWiki
Ir a la navegación Ir a la búsqueda

Enunciado

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Patients>
  <Patient id="11">
    <firstName>Neeraj</firstName>
    <lastName>Das</lastName>
    <Section>
      <sid>101</sid>
      <sname>Cardio</sname>
      <disease> heart</disease>
    </Section>
  </Patient>
  <Patient id="12">
    <firstName>Gokul</firstName>
    <lastName>Karthik</lastName>
    <Section>
      <sid>102</sid>
      <sname>neuro</sname>
      <disease> brain</disease>
    </Section>
  </Patient>
  <Patient id="13">
    <firstName>Vivian</firstName>
    <lastName>togi</lastName>
    <Section>
      <sid>103</sid>
      <sname>xxxk</sname>
      <disease> Kidney</disease>
    </Section>
  </Patient>
  <Patient id="14">
    <firstName>Smitha</firstName>
    <lastName>vivek</lastName>
    <Section>
      <sid>104</sid>
      <sname>Scan</sname>
      <disease> Thyroid</disease>
    </Section>
  </Patient>
  <Patient id="15">
    <firstName>Swathi</firstName>
    <lastName>Prasana</lastName>
    <Section>
      <sid>105</sid>
      <sname>artho</sname>
      <disease> haemo</disease>
    </Section>
  </Patient>
</Patients>


Referencias