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

Re: xml search engine?

  • From: "Martin Bryan" <mtbryan@s...>
  • To: <martind@n...>, <xml-dev@x...>
  • Date: Tue, 4 Apr 2000 17:09:04 +0100

selectnodes in xml
> Didier replied:
> So, in the proposed framework, this would be one of the possible query space
> an information set engine may offer. I should say however that, a big chunck
> of the desired query (i.e the query you are mentionning) is already
> addressed by xpath.

Exactly! Once you think about applying xpath patterns to the indexing of queries it beocmes a resuse of something you already have to do for XSL. The only thing really missing is the namespace point, which is what you need to ensure that you avoid trying to query things that use the same names but in a different context.

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.)

Martin Bryan

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/


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.
First Name
Last Name
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.