Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Virginia
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation XML Database Question

    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!

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    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.

  • #3
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts
    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.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #4
    New to the CF scene
    Join Date
    Aug 2002
    Location
    Virginia
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cool, I'll check out Xlink. And yeah, I have over 1000 articles that will each be their own document.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •