|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
navigating through a very large XMl file ina web page.
Hi!
I have a very large XML file that needs to be displayed in my web page, may be as a tree structure. Visitors should be able to go to any level depth nodes and access the children elements or text element of those nodes. I thought about using DOM parser with Java but dropped that idea as DOM would be stored in memory and hence its space consuming. Neither SAX works for me as every time there is a click on any of the nodes, my SAX parser parses the whole document for the node and its time consuming. Could anyone please tell me the best technology and best parser to be used for very large XML files? is there any way with ASP etc.? |
|
#2
|
|||
|
|||
|
Well, you could try XSLT. You'll still have to process the document every time, but you can cache the file in memory so you at least woudn't have to read it each time. An add on to this would be to cache the results of the transformation so that you could serve them multiple times for each transformation.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > navigating through a very large XMl file ina web page. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|