M
mike.lussier
I have written some simple XSL pages to extract the data I need but
each device here has a total of 6 keys and within this 6 values a time
stamp and how long until the next data extraction ( 300 seconds ) 5
minutes.
The page starts off with WebBox
Then goes to MeanPublic
How can I extract the "<First> data from the 6 Keys for that device ?
My coding so far has only revealled the first key and nothing more.
Mikey
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE WebBox []>
<?xml-stylesheet href="mean200.xsl" type="text/xsl" ?>
<WebBox xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="MEAN_200.xsd">
<Info>
<Created>2007-07-05T18:45:19</Created>
<Culture>en-US</Culture>
</Info>
<MeanPublic>
<Key>WR18UW4E:1564403641:Error</Key>
<First>0</First>
<Last>0</Last>
<Min>0</Min>
<Max>0</Max>
<Mean>0</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Error-Cnt</Key>
<First>214</First>
<Last>214</Last>
<Min>214</Min>
<Max>214</Max>
<Mean>214</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:E-Total</Key>
<First>6574.23704818048</First>
<Last>6574.24611484896</Last>
<Min>6574.23704818048</Min>
<Max>6574.24611484896</Max>
<Mean>6574.241075</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Fac</Key>
<First>59.98</First>
<Last>59.99</Last>
<Min>59.96</Min>
<Max>59.99</Max>
<Mean>59.976667</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:h-Total</Key>
<First>11505.821753799</First>
<Last>11505.90369825</Last>
<Min>11505.821753799</Min>
<Max>11505.90369825</Max>
<Mean>11505.863675</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Iac</Key>
<First>886</First>
<Last>1150</Last>
<Min>869</Min>
<Max>1150</Max>
<Mean>972.466667</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Ipv</Key>
<First>538</First>
<Last>657</Last>
<Min>524</Min>
<Max>657</Max>
<Mean>580.55</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Mode</Key>
<First>7</First>
<Last>7</Last>
<Min>7</Min>
<Max>7</Max>
<Mean>7</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
each device here has a total of 6 keys and within this 6 values a time
stamp and how long until the next data extraction ( 300 seconds ) 5
minutes.
The page starts off with WebBox
Then goes to MeanPublic
How can I extract the "<First> data from the 6 Keys for that device ?
My coding so far has only revealled the first key and nothing more.
Mikey
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE WebBox []>
<?xml-stylesheet href="mean200.xsl" type="text/xsl" ?>
<WebBox xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="MEAN_200.xsd">
<Info>
<Created>2007-07-05T18:45:19</Created>
<Culture>en-US</Culture>
</Info>
<MeanPublic>
<Key>WR18UW4E:1564403641:Error</Key>
<First>0</First>
<Last>0</Last>
<Min>0</Min>
<Max>0</Max>
<Mean>0</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Error-Cnt</Key>
<First>214</First>
<Last>214</Last>
<Min>214</Min>
<Max>214</Max>
<Mean>214</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:E-Total</Key>
<First>6574.23704818048</First>
<Last>6574.24611484896</Last>
<Min>6574.23704818048</Min>
<Max>6574.24611484896</Max>
<Mean>6574.241075</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Fac</Key>
<First>59.98</First>
<Last>59.99</Last>
<Min>59.96</Min>
<Max>59.99</Max>
<Mean>59.976667</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:h-Total</Key>
<First>11505.821753799</First>
<Last>11505.90369825</Last>
<Min>11505.821753799</Min>
<Max>11505.90369825</Max>
<Mean>11505.863675</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Iac</Key>
<First>886</First>
<Last>1150</Last>
<Min>869</Min>
<Max>1150</Max>
<Mean>972.466667</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Ipv</Key>
<First>538</First>
<Last>657</Last>
<Min>524</Min>
<Max>657</Max>
<Mean>580.55</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>
<MeanPublic>
<Key>WR18UW4E:1564403641:Mode</Key>
<First>7</First>
<Last>7</Last>
<Min>7</Min>
<Max>7</Max>
<Mean>7</Mean>
<Base>60</Base>
<Period>300</Period>
<TimeStamp>2007-07-05T18:45:18</TimeStamp>
</MeanPublic>