February 25, 2020, 03:55:48 AM
Welcome, Guest. Please login or register
News: Join us for a FREE Webinar this Thursday at http://webinar.digitalsignage.com

MediaSignage support forum



Author Topic: Read XML file with logic  (Read 3248 times)

Cindy

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Read XML file with logic
« on: April 07, 2015, 08:40:38 AM »
I need to be able to read an xml file and apply logic to select the elements.

Ex.
Xml file will contain a date attribute, I want to display all the elements for the current date.

<Event Date="04/01/2015" >
<Description>what it is</Description>
<Time>when it is</Time>
<Description>next event</Description>
<time>next time</time>
</Event>
<Event Date="04/02/2015">
..
</Event>

Thanks for your help!

criley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 598
  • Karma: +15/-0
    • View Profile
Re: Read XML file with logic
« Reply #1 on: April 07, 2015, 08:46:40 AM »
Build your own component that can do this and utilize the HTML5 component or build a SWF that will accomplish what you are looking for.

Cindy

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Read XML file with logic
« Reply #2 on: April 07, 2015, 08:53:59 AM »
Can you point me to a tutorial on this?

Thanks!

criley

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 598
  • Karma: +15/-0
    • View Profile
Re: Read XML file with logic
« Reply #3 on: April 07, 2015, 10:00:27 AM »
Hi Cindy,

Please email me directly. There is no tutorial for this.

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5050
  • Karma: +35/-8
    • View Profile
Re: Read XML file with logic
« Reply #4 on: April 08, 2015, 11:03:40 AM »
you also may want to look into the new HTML SDK which will be very easy to implement: http://www.digitalsignage.com/_html/video_tutorials.html?videoNumber=htmlSdkIntro

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines