-
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
-
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
>
-
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
> >
>
-
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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks