AJAX Forums

Why is XML so slow!!?

This is a discussion on Why is XML so slow!!? within the XML and XSLT forums, part of the Beginners AJAX category; Ok I am fustrated. I am really excited that I fiqured out a way to write over 40 webpages in very little time using XML. Every page is the same ...


Go Back   AJAX Forums > Beginners AJAX > XML and XSLT

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 11-25-2007, 11:34 PM   #1 (permalink)
Junior Member
 
Join Date: Nov 2007
Posts: 2
Rep Power: 0 matt t is on a distinguished road
Why is XML so slow!!?

Ok I am fustrated. I am really excited that I fiqured out a way to write over 40 webpages in very little time using XML. Every page is the same except for song lyrics; its a webpage me and my girlfriend are using. So basically I have one webpage and based on what song the user clicks on that datafield in the xml file is called and written in a table row on the file.

Like this:

<xml blah ></xml>
<table datasource="#xml file">
<tr>
<td id="song"><span datafield="song in xml file"></td>
</tr>

.... links down below user clicks on a link -> onclick =changesong('songname');
</table>

<script>
changesong(songname)
{
variablename=songname

song.innerHTML="<span datafield" + variablename + "></span>"
}

My code works, but this is just psuedocode of what it basically does, without retyping it.

The problem is XML is so slow. Would SQL be quicker to retrieve songs from? Page takes forever to load !
__________________
matt t is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes



All times are GMT -4. The time now is 09:20 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com