Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Oct 2009
    Location
    ha noi
    Posts
    2

    User data into XML ?

    Dear all,
    I want work a project as Demo_stock.
    But data into a file XML .
    I have try modifi demo but i can't .
    Plz help me.

    You can work file demo help me.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Where did you stuck?

  3. #3
    Member
    Join Date
    Oct 2009
    Location
    ha noi
    Posts
    2
    I don't know code how into data into file XML.
    Plz help me.
    You can code a simple example ?

    <?xml version="1.0"?>
    <pairs>
    <pairitem>
    <pair>GOLD</pair>
    <bid>1004.40</bid>
    <ask>1004.90</ask>
    <updown>up</updown>
    </pairitem>
    <pairitem>
    <pair>SILVER</pair>
    <bid>16.69</bid>
    <ask>16.74</ask>
    <updown>up</updown>
    </pairitem>
    </pairs>

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    hi,

    you just have to write an adapter that reads your xml file and publishes updates to lightstreamer.

    The internet is full of articles about XML and Java, you could start with those:
    Parse using SAX or DOM
    Should I use SAX or DOM?

    Also this thread could contain some hints.

    HTH

 

 

Similar Threads

  1. Get data specific to each User by passing parameters
    By leonardodar in forum Adapter SDKs
    Replies: 3
    Last Post: March 16th, 2011, 10:45 AM
  2. How to limit the items a user can see
    By mikelear@cityindex.co.uk in forum Adapter SDKs
    Replies: 3
    Last Post: January 31st, 2011, 01:41 PM
  3. User specific data example
    By zeos in forum Adapter SDKs
    Replies: 1
    Last Post: January 28th, 2010, 10:41 AM
  4. General data and User specific data
    By mnenchev in forum Adapter SDKs
    Replies: 5
    Last Post: September 1st, 2009, 10:36 AM
  5. How to Get the User and Password ?
    By arajeh in forum Adapter SDKs
    Replies: 1
    Last Post: July 30th, 2008, 11:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 12:32 PM.