How to Call XSL on Client Side


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: How to Call XSL on Client Side

  1. #1
    Sandeep Guest

    How to Call XSL on Client Side


    Hi All,
    I am generating XML on the server side through Servlets & using XSL
    for page formating. This data on the browser is displayed in the table format(HTML).
    When user clicks on the header of the table, that column is to be sorted.
    For this i want to use <XSL:sort> or another way thr XML only. So how do
    i call XSL on the at client side.

    Thanks in advance

    Sandeep


  2. #2
    MarkN Guest

    Re: How to Call XSL on Client Side


    I'm not sure if an html table has an event for column header clicks. If it
    does, you can call javascript to create dom objects to manipulate the xml.
    In IE this will need to be MS XML objects.

    Mark

    "Sandeep" <sandeepskulkarni@hotmail.com> wrote:
    >
    >Hi All,
    > I am generating XML on the server side through Servlets & using XSL
    >for page formating. This data on the browser is displayed in the table format(HTML).
    >When user clicks on the header of the table, that column is to be sorted.
    >For this i want to use <XSL:sort> or another way thr XML only. So how do
    >i call XSL on the at client side.
    >
    >Thanks in advance
    >
    >Sandeep
    >



  3. #3
    Russell Jones Guest

    Re: How to Call XSL on Client Side

    Yes, modern browser table cells recognize click events. For older browsers,
    you can format the header as an anchor tag that, when clicked, runs a
    JavaScript function to sort the data and redraw the table.

    "MarkN" <mnuttall@nospam.com> wrote in message
    news:3b77d86c$1@news.devx.com...
    >
    > I'm not sure if an html table has an event for column header clicks. If

    it
    > does, you can call javascript to create dom objects to manipulate the xml.
    > In IE this will need to be MS XML objects.
    >
    > Mark
    >
    > "Sandeep" <sandeepskulkarni@hotmail.com> wrote:
    > >
    > >Hi All,
    > > I am generating XML on the server side through Servlets & using

    XSL
    > >for page formating. This data on the browser is displayed in the table

    format(HTML).
    > >When user clicks on the header of the table, that column is to be sorted.
    > >For this i want to use <XSL:sort> or another way thr XML only. So how do
    > >i call XSL on the at client side.
    > >
    > >Thanks in advance
    > >
    > >Sandeep
    > >

    >




  4. #4
    MarkN Guest

    Re: How to Call XSL on Client Side


    I knew cells did and but I didn't do a full mind shift before responding (don't
    do alot of html) so I was mentally separating cells and column headers like
    in advanced languages.

    Mark

    "Russell Jones" <arj1@northstate.net> wrote:
    >Yes, modern browser table cells recognize click events. For older browsers,
    >you can format the header as an anchor tag that, when clicked, runs a
    >JavaScript function to sort the data and redraw the table.
    >
    >"MarkN" <mnuttall@nospam.com> wrote in message
    >news:3b77d86c$1@news.devx.com...
    >>
    >> I'm not sure if an html table has an event for column header clicks.

    If
    >it
    >> does, you can call javascript to create dom objects to manipulate the

    xml.
    >> In IE this will need to be MS XML objects.
    >>
    >> Mark
    >>
    >> "Sandeep" <sandeepskulkarni@hotmail.com> wrote:
    >> >
    >> >Hi All,
    >> > I am generating XML on the server side through Servlets & using

    >XSL
    >> >for page formating. This data on the browser is displayed in the table

    >format(HTML).
    >> >When user clicks on the header of the table, that column is to be sorted.
    >> >For this i want to use <XSL:sort> or another way thr XML only. So how

    do
    >> >i call XSL on the at client side.
    >> >
    >> >Thanks in advance
    >> >
    >> >Sandeep
    >> >

    >>

    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center