xml - computer - कुंजीपटल काम




एक्सएमएल एक्सएमएल को सॉर्ट के लिए एक्सएसएल ट्रांस्फ़ॉर्म का उपयोग कर (2)

मैं निम्नलिखित XML, मौसम सेंसर संरचना का उपयोग कर रहा हूँ तात्कालिक लक्ष्य यह संरचना को संवेदक स्थान से पहले और फिर लेबल पढ़ने से ठीक करना है। मैं XML प्रसंस्करण के साथ एक संघर्षरत नौसिखिया हूं !!!

<Sensors>
    <sensor location="House - Front Entry">
        <reading label="Temperature">
            <title>House - Front Entry</title>
            <label>Temperature</label>
            <value>57</value>
            <units>F</units>
            <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>64</hi>
                    <lo>56</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>72</hi>
                    <lo>46</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>79</hi>
                    <lo>46</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>80</hi>
                    <lo>41</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>80</hi>
                    <lo>41</lo>
                </record>
            </records>
        </reading>
        <reading label="Humidity">
            <title>House - Front Entry</title>
            <label>Humidity</label>
            <value>83</value>
            <units>%</units>
            <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>83</hi>
                    <lo>58</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>83</hi>
                    <lo>42</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>99</hi>
                    <lo>31</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>99</hi>
                    <lo>31</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>99</hi>
                    <lo>31</lo>
                </record>
            </records>
        </reading>
    </sensor>
    <sensor location="House - Patio">
        <reading label="Temperature">
            <title>House - Patio</title>
            <label>Temperature</label>
            <value>53</value>
            <units>F</units>
            <lastUpdate>05/28/2013 09:48 PM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>65</hi>
                    <lo>51</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>71</hi>
                    <lo>38</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>80</hi>
                    <lo>38</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>80</hi>
                    <lo>38</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>80</hi>
                    <lo>38</lo>
                </record>
            </records>
        </reading>
        <reading label="Humidity">
            <title>House - Patio</title>
            <label>Humidity</label>
            <value>98</value>
            <units>%</units>
            <lastUpdate>05/28/2013 09:48 PM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>99</hi>
                    <lo>47</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>99</hi>
                    <lo>33</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>99</hi>
                    <lo>24</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>99</hi>
                    <lo>24</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>99</hi>
                    <lo>24</lo>
                </record>
            </records>
        </reading>
        <reading label="Rainfall">
            <title>House - Patio</title>
            <label>Rainfall</label>
            <value>0.22</value>
            <units>in</units>
            <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
            <records>
                <record timeFrame="Previous Event">
                    <timeFrame>Previous Event</timeFrame>
                    <total>0.24</total>
                    <eventDate>05/22/2013</eventDate>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <total>0.22</total>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <total>6.97</total>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <total>6.97</total>
                </record>
            </records>
        </reading>
    </sensor>

    <sensor location="Cabin - Kitchen">
        <reading label="Temperature">
            <title>Cabin - Kitchen</title>
            <label>Temperature</label>
            <value>57</value>
            <units>F</units>
            <lastUpdate>05/28/2013 11:29 AM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>63</hi>
                    <lo>58</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>74</hi>
                    <lo>58</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>74</hi>
                    <lo>38</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>76</hi>
                    <lo>30</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>76</hi>
                    <lo>30</lo>
                </record>
            </records>
        </reading>
        <reading label="Humidity">
            <title>Cabin - Kitchen</title>
            <label>Humidity</label>
            <value>41</value>
            <units>%</units>
            <lastUpdate>05/28/2013 11:29 AM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>41</hi>
                    <lo>40</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>48</hi>
                    <lo>40</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>48</hi>
                    <lo>39</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>48</hi>
                    <lo>13</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>48</hi>
                    <lo>13</lo>
                </record>
            </records>
        </reading>
    </sensor>
</Sensors>

ठीक है, उपरोक्त एक्सएलएम है और नीचे मेरा सर्वश्रेष्ठ एक्सएसएल ट्रांस्फ़ॉर्म फाइल बनाने की कोशिश है I मैं परिणामस्वरूप आउटपुट को एक्सएमएल प्रारूप में रखना चाहता हूं, ठीक उसी तरह की इनपुट फ़ाइल के रूप में, लेकिन सेंसर "स्थान" द्वारा एज़ क्रम में सॉर्ट किया गया और "लेबल" पढ़ना बहुत सारी पढ़ाई के बाद और Google ने यह खोज की है कि मैं क्या आया हूं:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="xml" indent="yes"/>

<xsl:template match="Sensors">
      <xsl:copy>    
    <xsl:apply-templates>
      <xsl:sort select="sensor/@location"/>
      <xsl:sort select="reading/label"/>
    </xsl:apply-templates>
      </xsl:copy>     
  </xsl:template>

<xsl:template match="node()|@*">
  <xsl:copy>
    <xsl:apply-templates select="node()|@*"/>
  </xsl:copy>
</xsl:template>

</xsl:stylesheet>

मैं अपने कोड का परीक्षण करने के लिए Microsoft XML संपादक का उपयोग कर रहा हूं। सबसे पहले आउटपुट में इनपुट फ़ाइल का एक्सएमएल संरचना नहीं है और यह भी पूर्ण नहीं है, सेंसर स्थान और इसके बाद के संस्करण स्तर और अन्य आइटम गायब हैं।

मैं क्या गलत कर रहा हूं?

वैसे, मुझे यह पता चलने के बाद क्लासिक एएसपी में एक्सएसएल ट्रांस्फ़ॉर्म फ़ाइल का उपयोग करते हुए मैं पूरी XML फ़ाइल की प्रक्रिया कर रहा हूं। उसमें से अधिकांश पहले ही काम कर रहे हैं, सिवाय इसके कि छंटाई प्रक्रिया को छोड़कर।


इस तरह से कुछ प्रयास करें:

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:output method="xml" indent="yes"/>

    <xsl:template match="/Sensors" >
        <xsl:copy>
            <xsl:apply-templates select="sensor">
                <xsl:sort select="@location"/>
            </xsl:apply-templates>
        </xsl:copy>
    </xsl:template>

    <xsl:template match="sensor">
        <xsl:copy>
            <xsl:apply-templates select="@*" />
            <xsl:apply-templates select="reading">
                <xsl:sort select="@label"/>
            </xsl:apply-templates>
        </xsl:copy>
    </xsl:template>

    <xsl:template match="node()|@*">
        <xsl:copy>
            <xsl:apply-templates select="node()|@*"/>
        </xsl:copy>
    </xsl:template>

</xsl:stylesheet>

एक पहचान के साथ शुरू करें और फिर उन तत्वों के माता-पिता को ओवरराइड करें जिन्हें आप सॉर्ट करना चाहते हैं। आप xsl:apply-templates में sort कर सकते हैं xsl:apply-templates सॉर्ट करने के लिए xsl:apply-templates

XML इनपुट

<Sensors>
    <sensor location="House - Front Entry">
        <reading label="Temperature">
            <title>House - Front Entry</title>
            <label>Temperature</label>
            <value>57</value>
            <units>F</units>
            <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>64</hi>
                    <lo>56</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>72</hi>
                    <lo>46</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>79</hi>
                    <lo>46</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>80</hi>
                    <lo>41</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>80</hi>
                    <lo>41</lo>
                </record>
            </records>
        </reading>
        <reading label="Humidity">
            <title>House - Front Entry</title>
            <label>Humidity</label>
            <value>83</value>
            <units>%</units>
            <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>83</hi>
                    <lo>58</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>83</hi>
                    <lo>42</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>99</hi>
                    <lo>31</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>99</hi>
                    <lo>31</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>99</hi>
                    <lo>31</lo>
                </record>
            </records>
        </reading>
    </sensor>
    <sensor location="House - Patio">
        <reading label="Temperature">
            <title>House - Patio</title>
            <label>Temperature</label>
            <value>53</value>
            <units>F</units>
            <lastUpdate>05/28/2013 09:48 PM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>65</hi>
                    <lo>51</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>71</hi>
                    <lo>38</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>80</hi>
                    <lo>38</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>80</hi>
                    <lo>38</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>80</hi>
                    <lo>38</lo>
                </record>
            </records>
        </reading>
        <reading label="Humidity">
            <title>House - Patio</title>
            <label>Humidity</label>
            <value>98</value>
            <units>%</units>
            <lastUpdate>05/28/2013 09:48 PM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>99</hi>
                    <lo>47</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>99</hi>
                    <lo>33</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>99</hi>
                    <lo>24</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>99</hi>
                    <lo>24</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>99</hi>
                    <lo>24</lo>
                </record>
            </records>
        </reading>
        <reading label="Rainfall">
            <title>House - Patio</title>
            <label>Rainfall</label>
            <value>0.22</value>
            <units>in</units>
            <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
            <records>
                <record timeFrame="Previous Event">
                    <timeFrame>Previous Event</timeFrame>
                    <total>0.24</total>
                    <eventDate>05/22/2013</eventDate>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <total>0.22</total>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <total>6.97</total>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <total>6.97</total>
                </record>
            </records>
        </reading>
    </sensor>

    <sensor location="Cabin - Kitchen">
        <reading label="Temperature">
            <title>Cabin - Kitchen</title>
            <label>Temperature</label>
            <value>57</value>
            <units>F</units>
            <lastUpdate>05/28/2013 11:29 AM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>63</hi>
                    <lo>58</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>74</hi>
                    <lo>58</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>74</hi>
                    <lo>38</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>76</hi>
                    <lo>30</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>76</hi>
                    <lo>30</lo>
                </record>
            </records>
        </reading>
        <reading label="Humidity">
            <title>Cabin - Kitchen</title>
            <label>Humidity</label>
            <value>41</value>
            <units>%</units>
            <lastUpdate>05/28/2013 11:29 AM</lastUpdate>
            <records>
                <record timeFrame="Today">
                    <timeFrame>Today</timeFrame>
                    <hi>41</hi>
                    <lo>40</lo>
                </record>
                <record timeFrame="Week">
                    <timeFrame>Week</timeFrame>
                    <hi>48</hi>
                    <lo>40</lo>
                </record>
                <record timeFrame="Month">
                    <timeFrame>Month</timeFrame>
                    <hi>48</hi>
                    <lo>39</lo>
                </record>
                <record timeFrame="Year">
                    <timeFrame>Year</timeFrame>
                    <hi>48</hi>
                    <lo>13</lo>
                </record>
                <record timeFrame="Alltime">
                    <timeFrame>Alltime</timeFrame>
                    <hi>48</hi>
                    <lo>13</lo>
                </record>
            </records>
        </reading>
    </sensor>
</Sensors>

एक्सएसएलटी 1.0

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output indent="yes"/>
    <xsl:strip-space elements="*"/>

    <xsl:template match="@*|node()">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()"/>
        </xsl:copy>
    </xsl:template>

    <xsl:template match="/Sensors">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()">
                <xsl:sort select="@location"/>
            </xsl:apply-templates>
        </xsl:copy>     
    </xsl:template>

    <xsl:template match="sensor">
        <xsl:copy>
            <xsl:apply-templates select="@*|node()">
                <xsl:sort select="@label"/>
            </xsl:apply-templates>
        </xsl:copy>     
    </xsl:template>

</xsl:stylesheet>

एक्सएमएल आउटपुट

<Sensors>
   <sensor location="Cabin - Kitchen">
      <reading label="Humidity">
         <title>Cabin - Kitchen</title>
         <label>Humidity</label>
         <value>41</value>
         <units>%</units>
         <lastUpdate>05/28/2013 11:29 AM</lastUpdate>
         <records>
            <record timeFrame="Today">
               <timeFrame>Today</timeFrame>
               <hi>41</hi>
               <lo>40</lo>
            </record>
            <record timeFrame="Week">
               <timeFrame>Week</timeFrame>
               <hi>48</hi>
               <lo>40</lo>
            </record>
            <record timeFrame="Month">
               <timeFrame>Month</timeFrame>
               <hi>48</hi>
               <lo>39</lo>
            </record>
            <record timeFrame="Year">
               <timeFrame>Year</timeFrame>
               <hi>48</hi>
               <lo>13</lo>
            </record>
            <record timeFrame="Alltime">
               <timeFrame>Alltime</timeFrame>
               <hi>48</hi>
               <lo>13</lo>
            </record>
         </records>
      </reading>
      <reading label="Temperature">
         <title>Cabin - Kitchen</title>
         <label>Temperature</label>
         <value>57</value>
         <units>F</units>
         <lastUpdate>05/28/2013 11:29 AM</lastUpdate>
         <records>
            <record timeFrame="Today">
               <timeFrame>Today</timeFrame>
               <hi>63</hi>
               <lo>58</lo>
            </record>
            <record timeFrame="Week">
               <timeFrame>Week</timeFrame>
               <hi>74</hi>
               <lo>58</lo>
            </record>
            <record timeFrame="Month">
               <timeFrame>Month</timeFrame>
               <hi>74</hi>
               <lo>38</lo>
            </record>
            <record timeFrame="Year">
               <timeFrame>Year</timeFrame>
               <hi>76</hi>
               <lo>30</lo>
            </record>
            <record timeFrame="Alltime">
               <timeFrame>Alltime</timeFrame>
               <hi>76</hi>
               <lo>30</lo>
            </record>
         </records>
      </reading>
   </sensor>
   <sensor location="House - Front Entry">
      <reading label="Humidity">
         <title>House - Front Entry</title>
         <label>Humidity</label>
         <value>83</value>
         <units>%</units>
         <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
         <records>
            <record timeFrame="Today">
               <timeFrame>Today</timeFrame>
               <hi>83</hi>
               <lo>58</lo>
            </record>
            <record timeFrame="Week">
               <timeFrame>Week</timeFrame>
               <hi>83</hi>
               <lo>42</lo>
            </record>
            <record timeFrame="Month">
               <timeFrame>Month</timeFrame>
               <hi>99</hi>
               <lo>31</lo>
            </record>
            <record timeFrame="Year">
               <timeFrame>Year</timeFrame>
               <hi>99</hi>
               <lo>31</lo>
            </record>
            <record timeFrame="Alltime">
               <timeFrame>Alltime</timeFrame>
               <hi>99</hi>
               <lo>31</lo>
            </record>
         </records>
      </reading>
      <reading label="Temperature">
         <title>House - Front Entry</title>
         <label>Temperature</label>
         <value>57</value>
         <units>F</units>
         <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
         <records>
            <record timeFrame="Today">
               <timeFrame>Today</timeFrame>
               <hi>64</hi>
               <lo>56</lo>
            </record>
            <record timeFrame="Week">
               <timeFrame>Week</timeFrame>
               <hi>72</hi>
               <lo>46</lo>
            </record>
            <record timeFrame="Month">
               <timeFrame>Month</timeFrame>
               <hi>79</hi>
               <lo>46</lo>
            </record>
            <record timeFrame="Year">
               <timeFrame>Year</timeFrame>
               <hi>80</hi>
               <lo>41</lo>
            </record>
            <record timeFrame="Alltime">
               <timeFrame>Alltime</timeFrame>
               <hi>80</hi>
               <lo>41</lo>
            </record>
         </records>
      </reading>
   </sensor>
   <sensor location="House - Patio">
      <reading label="Humidity">
         <title>House - Patio</title>
         <label>Humidity</label>
         <value>98</value>
         <units>%</units>
         <lastUpdate>05/28/2013 09:48 PM</lastUpdate>
         <records>
            <record timeFrame="Today">
               <timeFrame>Today</timeFrame>
               <hi>99</hi>
               <lo>47</lo>
            </record>
            <record timeFrame="Week">
               <timeFrame>Week</timeFrame>
               <hi>99</hi>
               <lo>33</lo>
            </record>
            <record timeFrame="Month">
               <timeFrame>Month</timeFrame>
               <hi>99</hi>
               <lo>24</lo>
            </record>
            <record timeFrame="Year">
               <timeFrame>Year</timeFrame>
               <hi>99</hi>
               <lo>24</lo>
            </record>
            <record timeFrame="Alltime">
               <timeFrame>Alltime</timeFrame>
               <hi>99</hi>
               <lo>24</lo>
            </record>
         </records>
      </reading>
      <reading label="Rainfall">
         <title>House - Patio</title>
         <label>Rainfall</label>
         <value>0.22</value>
         <units>in</units>
         <lastUpdate>05/28/2013 09:49 PM</lastUpdate>
         <records>
            <record timeFrame="Previous Event">
               <timeFrame>Previous Event</timeFrame>
               <total>0.24</total>
               <eventDate>05/22/2013</eventDate>
            </record>
            <record timeFrame="Week">
               <timeFrame>Week</timeFrame>
               <total>0.22</total>
            </record>
            <record timeFrame="Month">
               <timeFrame>Month</timeFrame>
               <total>6.97</total>
            </record>
            <record timeFrame="Year">
               <timeFrame>Year</timeFrame>
               <total>6.97</total>
            </record>
         </records>
      </reading>
      <reading label="Temperature">
         <title>House - Patio</title>
         <label>Temperature</label>
         <value>53</value>
         <units>F</units>
         <lastUpdate>05/28/2013 09:48 PM</lastUpdate>
         <records>
            <record timeFrame="Today">
               <timeFrame>Today</timeFrame>
               <hi>65</hi>
               <lo>51</lo>
            </record>
            <record timeFrame="Week">
               <timeFrame>Week</timeFrame>
               <hi>71</hi>
               <lo>38</lo>
            </record>
            <record timeFrame="Month">
               <timeFrame>Month</timeFrame>
               <hi>80</hi>
               <lo>38</lo>
            </record>
            <record timeFrame="Year">
               <timeFrame>Year</timeFrame>
               <hi>80</hi>
               <lo>38</lo>
            </record>
            <record timeFrame="Alltime">
               <timeFrame>Alltime</timeFrame>
               <hi>80</hi>
               <lo>38</lo>
            </record>
         </records>
      </reading>
   </sensor>
</Sensors>




asp-classic