Graphics

 View Only
  • 1.  Datalinq and XML from UnitedTote

    Posted 06-11-2015 00:12
    I'm integrating a Xpression Prime using Datalinq with a XML file from a tote system.

    This is a totalization system for horse races. Anyone with experience with this combo?

    I'm having issues with the XML file, since the entries are not at the same place each time the race changes.


  • 2.  RE: Datalinq and XML from UnitedTote

    Posted 06-11-2015 09:13
    Don't the XML holds the same data everytime?

    Is it the rank or what data is changed?

    #XPression


  • 3.  RE: Datalinq and XML from UnitedTote

    Posted 06-11-2015 14:13
    You should watch this tutorial that shows how you can use datalinq keys to select specific data from an xml file. In the example they are selecting player info based on a Jersey number. This allows the right player to be selected even though his data may move around in the XML file in different orders..

    This type of tool may be helpful for you but it is really dependent on how your xml data is formatted.

    http://xpression.rossvideo.com/videos/Datalinq_Keys_XML/Datalinq_Keys_XML.html

    #XPression


  • 4.  RE: Datalinq and XML from UnitedTote

    Posted 06-11-2015 18:32
    Hi Brian and Tue,

    The odds in the XML are fixed and OK. Works fine.

    Problem is: I receive a second XML with final results.

    In this File the entries are not always the same.

    Some races have four kinds of bet and some six kinds.

    And the XML shows the order in a string but after this the horses are show in crescent order, with prices.

    This way I cant address the dataling, since the finish order is not the same as the order of the lines.

    I need a way to read the finish order and after that read the horses in that order and show in a page.

    This is an example of two XML. Hope you undertand my english:


    ?xml version="1.0" encoding="UTF-8"?>




























































    This is a second XML, with other race results:








































































    #XPression