Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2008
    r. p. v.

    Cool XSLT integration

    hi everyone,

    i'm wondering how to perform browser side XSL transformation on pushed data from lightstreamer since they are not DOM based. could anyone suggest? thanks in advance !!


  2. #2
    Join Date
    Jul 2006
    Milan, Italy
    Hi Richard,

    You can push any kind of strings with Lightstreamer. In your case, you might want your Data Adapter to push XML strings. On the client side, you will use a NonVisualTable to receive such strings. Then, you will use a JS toolkit for XSLT to transform your XML string into an HTML string. Finally, you will visualize the HTML string through innerHTML.

    As an alternative, to avoid the direct use of innerHTML, you can leverage an OverwriteTable (or another VisualTable) instead of a NonVisualTable. Then you will use the onChangingValues callback to make the string transformation. The resulting string will be directly displayed inside the cell you created. If such string is HTML, make sure you called setPushedHtmlEnabled(true).

    AjaxPatterns has a good explanation of browser-side XSLT (even if not directly related to Lightstreamer):




Similar Threads

  1. GWT integration
    By hamroune in forum Client SDKs
    Replies: 1
    Last Post: January 3rd, 2012, 09:26 AM
  2. GWT integration
    By hamroune in forum General
    Replies: 1
    Last Post: January 3rd, 2012, 09:26 AM
  3. Drupal Integration ?
    By stockstreamtest1 in forum Client SDKs
    Replies: 2
    Last Post: September 19th, 2011, 10:48 AM
  4. GWT Integration
    By tvseshagiri in forum Client SDKs
    Replies: 1
    Last Post: June 7th, 2010, 11:11 AM


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 08:32 AM.