[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xml search engine?

  • From: "Didier PH Martin" <martind@n...>
  • To: "Martin Bryan" <mtbryan@s...>, <xml-dev@x...>
  • Date: Tue, 4 Apr 2000 12:41:01 -0400

xml selectnodes
Hi Martin,

Martin said:
You suggest node_set = object.selectNodes("MartinBryanQuery", query)

What about node_set = object.selectNodes(namespace, element, attribute,
content)

(QueryType is really not needed if you are specifically trying to query XML
data. The namespace identifies the set of indexables. OK, you might want a
generalized mechanism that allowed you to use something like SQL, but this
would not rely on context in any way, so your "non-XML-aware" version might
work in those circumstances.)

Didier replies:
So the question then is what about all the possible query language type that
can return node-sets like for instance SQL?
Your construct is too restrictive to a single Query language type and a
single information space. The world has more diversity than that. You
already have the XPath string based expression that allows you to express
the entities you mention in a single string. There is no needs to have then
multiple parameters.

What you are proposing is a subset of possible query languages where all the
information space is reduced to a single domain (I mean here an information
or knowledge domain not a DNS domain). The Adriane project realized by the U
of California present such world. But there is also non integrated worlds
where all the information space is not integrated in the same domain. In
that case, we need to specify the information space identifier and adapt to
each information space notation as long as this notation an fit in a string.
There is a big number of them that fit into this crieria.

Off course, the function I proposed has a drawback like forcing that all
queries fit in a string, but as I also demonstrated, the string could be
made form several lines.

So, let's not redo XPath but more expand the information access to other
information space universe as long as these universes are accessible with
some common objects (i.e. node, node-sets).

Have you taken a look that the article referred by the link?

cheers
Didier PH Martin
----------------------------------------------
Email: martind@n...
Conferences: Web Chicago(http://www.mfweb.com)
             XML Europe (http://www.gca.org)
Book: XML Professional (http://www.wrox.com)
column: Style Matters (http://www.xml.com)
Products: http://www.netfolder.com



***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.