View Full Version : XML Database Question

08-12-2002, 04:13 PM
I'm new to XML and not sure it is the right tool for this project so I figured I would ask you guys... This is the deal, I want to make a CD-ROM with a searchable database that contains a bunch of articles. Not only do I want it completely usable on the CD-ROM but when I get a result from the search (say, one full article comes up) I want to be able to easily cut and copy it into an HTML editor. Is this possible with XML? If not, does anyone know what I could use to accomplish this? Thanks!

08-12-2002, 05:54 PM
IE5 and Gecko both allow you to dynamically import XML documents through Javascript. So you could have an HTML page, and dynamically write out the search results using some DOM scripting.

Lots of examples online too of grabbing XML docs.

Alex Vincent
08-13-2002, 03:32 AM
Hm. As I see it, the catch is in balancing a number of XML docs against the size of those same docs...

As in, do you want to load one big XML doc that has everything, just to find one little snippet? Or do you want a bunch of little XML docs cross-referencing each other to kingdom-come?

XLink would be a very important technology to study for this. IE doesn't support it all that well, though.

08-13-2002, 03:41 AM
Cool, I'll check out Xlink. And yeah, I have over 1000 articles that will each be their own document.