0
<PATIENT PATIENT_NUMBER="1">
<DEVICEINFORMATION>
<SERIALNUMBER TYPE = "String" Value = "664231931" /> 
<CURRENTDATETIME TYPE= "String" Value = "200801301439" />
<SOFTWAREVERSION TYPE= "String" Value = " T2.2" />
<TIMEZONE TYPE= "String" Value = "-2" />
</DEVICEINFORMATION>
<DEVICELIST>
<DEVICE TYPE="String" Value="UA767PC" />
</DEVICELIST>
<BP>
<EVENT EVENT_NUMBER="1">
<DATETIME TYPE = "String" Value = "200801301439" />
<SYSTOLIC TYPE = "String" Value = "102"/>
<DIASTOLIC TYPE = "String" Value = "67" />
<HR TYPE = "String" Value = "78" />
</EVENT>
</BP>
</PATIENT><PATIENT PATIENT_NUMBER="1">
<DEVICEINFORMATION>
<SERIALNUMBER TYPE = "String" Value = "664231931" /> 
<CURRENTDATETIME TYPE= "String" Value = "200801301439" />
<SOFTWAREVERSION TYPE= "String" Value = " T2.2" />
<TIMEZONE TYPE= "String" Value = "-2" />
</DEVICEINFORMATION>
<DEVICELIST>
<DEVICE TYPE="String" Value="UA767PC" />
</DEVICELIST>
<BP>
<EVENT EVENT_NUMBER="1">
<DATETIME TYPE = "String" Value = "200801301439" />
<SYSTOLIC TYPE = "String" Value = "102"/>
<DIASTOLIC TYPE = "String" Value = "67" />
<HR TYPE = "String" Value = "78" />
</EVENT>
</BP>
</PATIENT>

How can I read the above xml file and display its contents,using php. I am interested in DATETIME,SYSTOLIC,DIASTOLIC,HR.

Thanks.

Edited by deceptikon: Moved to PHP

2
Contributors
1
Reply
13
Views
3 Years
Discussion Span
Last Post by pzuurveen
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.