Create an .xls file

0

Good evening. I have some doubts about xls (I know nothing about it) and I have some issues. can anybody help me? Here's the first one, which asks you to create an .xls file that will check if the temperature is greater than 20 and then remove the <temperature> tag. If anyone can help me, I would appreciate it!

Given the XML file bellow:

<?xml version="1.0" ?> 
<message-in>
<realised-gps>
<id>64172068</id> 
<resourceId>B-06-KXO</resourceId> 
<position>
<coordinatesystem>Standard</coordinatesystem> 
<latitude>44.380765</latitude> 
<longitude>25.9952</longitude> 
</position>
<time>2011-05-23T10:34:46</time> 
<temperature>21.01</temperature> 
<door>0</door> 
</realised-gps>
</message-in> 

a. Create a .xsl file that will check if the temperature is> 20 then will remove the <temperature> tag.

Example: if temperature> 20 then the xml output file:

<?xml version="1.0" ?> 
<message-in>
<realised-gps>
    
asked by anonymous 17.01.2018 / 00:02

0 answers