473,387 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

js xml at client side

roy
hi,
i need some help with xml and js ...
in my html page i've to show a grid with some data retrieved from
an xml file ...
i need to this beacuse i've to use online, on a webserver and offline
with all files on a usb key, cd, etc ...

which is the best way to accomplish this ?
i suppose a solution it could be via javascript
-locally open the xml file that contains the data e then
render then grid
now i wornder about the best way to do this ...
i've read about xsl transofrmation and so on ...
if it's possible i'h to achieve this with a cross-browser solution !

thanks much in advace for any help,suggestion,reference ...
andrew

Jul 31 '06 #1
1 1182
On 31 Jul 2006 16:51:55 +0200, "roy" <as*@for.myemailwrote:
>hi,
i need some help with xml and js ...
in my html page i've to show a grid with some data retrieved from
an xml file ...
i need to this beacuse i've to use online, on a webserver and offline
with all files on a usb key, cd, etc ...

which is the best way to accomplish this ?
i suppose a solution it could be via javascript
-locally open the xml file that contains the data e then
render then grid
now i wornder about the best way to do this ...
i've read about xsl transofrmation and so on ...
if it's possible i'h to achieve this with a cross-browser solution !

thanks much in advace for any help,suggestion,reference ...
andrew

Andrew,
I've had some experience in these situations where I've used AJAX
to format data from a table or directly from the XML file coming from
the server. Once your back in the client script you can parse out the
data using DOM and format it as needed for display. The XSLT is a
good idea. I don't have any working code using XSLT as I'm currently
in the processing of developing a site using this framework. Here is
a link that will get you some information using AJAX:
http://developer.mozilla.org/en/docs/AJAX

I would hold off on the XSLT until you can effectively communicate
client/server using the AJAX component. If you need some more
information on AJAX let me know and I'll send you a couple sample
scripts.

Matt

Jul 31 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Kathryn | last post by:
Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve is this - - Page loads up and some server side...
11
by: Tom Leylan | last post by:
(I posted this in languages.vb also... I can't figure out where things go if you use a little of a lot of things) Hi all... I'm looking for an example (or a pointer to one) related to the...
2
by: Dicky Cheng | last post by:
Hi, I am using .net remoting technology. I set up a .net remoting client and server in IIS. When the client calls the server, the server will run a long duration method (30-60seconds). I have a...
18
by: cjl | last post by:
Hey all: I know that it is silly in the age of Google to 'lose' something on the internet, but I recently checked out a project that had implemented a database with a subset of SQL in pure...
6
by: Ken Allen | last post by:
I am relatively new to .Net and C#, but I hav ebeen programing in other languages and done some COM work for a number of years. I am attempting to understand how to map an older program...
4
by: | last post by:
Hello Guys, I am using the validation controls to validate my data. But the problem is "The page is still being posted to server". I want to get rid of the round trips to server. Are there...
14
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
6
by: Valerian John | last post by:
I have a ListBox webcontrol on an aspx page. Items are added to the ListBox using client-side code. However, when the page is posted back the items are missing/not available. (It is like the...
10
by: Ben | last post by:
Hi, I made an application in classic asp (reservation of books and video stuffs for students) and want to migrate to asp.net. The user has to chose a date, then pushung on a submit button. The...
3
by: Simon Brooke | last post by:
I've been doing XSL transforms, converting XML to HTML, server side since 2000. In those days, clients which could do the transformation client side didn't exist, so whether to transform...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.