Jump to content

Updata data via xml


www.HDsports.at

Recommended Posts

Hello,

is it possible to update fields directly via an external xml or javascript?

here is an example of a xml:

<regions>
<region>
<id>713</id>
<name>Stuhleck</name>
<lastUpdateUTC>2020-05-29T12:18:49</lastUpdateUTC>
<status>420</status>
<snowHeightMin/>
<snowHeightNew/>
<snowHeightMax/>
<valleyRunCondition>94</valleyRunCondition>
<liftsTotal>11</liftsTotal>
<liftsOpen>0</liftsOpen>
<slopeTotal>19</slopeTotal>
<slopeOpen>0</slopeOpen>
<slopeTotalLength>25850</slopeTotalLength>
<slopeOpenLength>0</slopeOpenLength>
<skimapLink>http://sdds4.intermaps.com/mcms4/imgupload/713_20200218081234.jpg</skimapLink>
<skimapPreview>http://sdds4.intermaps.com/mcms4/imgupload/713_20200218081234.jpg</skimapPreview>
<id>605</id>
<name>Hintertuxer Gletscher</name>
<lastUpdateUTC>2020-05-29T08:25:58</lastUpdateUTC>
<status>419</status>
<snowHeightMin>0</snowHeightMin>
<snowHeightMax>315</snowHeightMax>
<snowHeightNew/>
<valleyRunCondition>94</valleyRunCondition>
<liftsTotal>21</liftsTotal>
<liftsOpen>11</liftsOpen>
<slopeTotal>26</slopeTotal>
<slopeOpen>9</slopeOpen>
<slopeTotalLength>60000</slopeTotalLength>
<slopeOpenLength>22000</slopeOpenLength>
<skimapLink>http://winter.intermaps.com/hintertuxer_gletscher</skimapLink>
<skimapPreview>http://sdds4.intermaps.com/diverse/hintertux_skimap_touch.jpg</skimapPreview>
</region>
</regions>

for example. "LiftsOpen" is an integer field. the value changes many times in a day in the xml. is it possible to create an integer fiel in jreviews, which automatically use the value of the xml-file?

Best regards, tom

Edited by www.HDsports.at
Link to comment
×
×
  • Create New...