Jump to content

rahn

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by rahn

  1. rahn

    xml recursive search

    Well, I found that parsing through all the xml docs is really slow, so what I ended up doing was extracting a few of the more important nodes and sticking that in mysql. A search on a few fields is really fast, then sablotron parses the xml doc with an xslt. What I meant by using google, was to do a sablotron run on all the xml files to transform and save them in static html. Google would pick them up a few days later, probably. But the current solution seems to be working ok, though sablotron sometimes chokes on files.
  2. rahn

    xml recursive search

    Well hmm. I've been thinking of an even cheaper soln. Convert all the xml docs to xhtml via xslt and then set up a standard search through those docs. Could even just do a google site search then.
  3. rahn

    xml recursive search

    Hi folks -- thanks for the assistance,I have a couple thousand xml docs each in there own directory and I am not sure about the best way to go about setting up a simple keyword search through all the docs. Can some one point me in the right direction. I have a typical LAMP set up so, I was thinking that the way to go would be to set up an xquery, stick the results in an array, recurse through all the directories, and then pump it out with php? Or should I just do a regex search through all the docs, store the reference to the matched files in an array, and then call up the xml file with an xslt. Or should I be a bad boy and stick all the xml docs into mysql and just search through the full text, and then call up the xml file w/xslt. I'm confused, but want to do this the right way! Thanks.R.
×
×
  • Create New...