Title: XML Searching
Or would one have to write his own indexing?
 
I can imagine that I could do something like taking all files with CFFILE and insert them in one large XML file like so
 
<file name="c:\temp\whatever.xml">
    ...... list all content
</file>
<file name="c:\temp\whatever33.xml">
    ...... list all content
</file>
 
And then do an XPath on this file, but its still not optimal I reckon..
 
I have the feeling someone is going to tell me that XML is not intended for this, and as soon as you need to search it, it should be placed in a database.
But maybe XML has advanced and I don't know about it? ;-))
-----Original Message-----
From: Taco Fleur
Sent: Thursday, 18 December 2003 8:24 AM
To: CFAussie Mailing List
Subject: [cfaussie] XML Searching

Is there such a thing as indexing XML documents and searching? Sort of like the Verity of coldfusion.
I am aware of XPath but that means opening up every document before searching.

I'd like them to be indexed and then query the collection with XPath or similiar.

Hope it makes sense?

Example;

I have 1000 documents that have the elements

<author>Who ever</author>
<category>What ever</category>

Index these 1000 documents, and then search the collection for all docs that are in category "What ever" or by Author "Who ever"

PS. I know the DTD is missing from the sample ;-))

Taco Fleur
07 3535 5072

Tell me and I will forget
Show me and I will remember
Teach me and I will learn

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to