[Home] [By Thread] [By Date] [Recent Entries]

  • From: "KenNorth" <KenNorth@e...>
  • To: "Didier Martin" <martind@n...>, <xml-dev@x...>
  • Date: Mon, 3 Apr 2000 22:28:41 -0700

<< The SelectNodes (QueryType, expression) takes
as parameter a query language type, and a query expression whatever the
query language type is and whatever the query expression is.

So, by tweaking Dongwook's example and adding an argument to your method, we
have something like the example below for finding one of Churchill's
speechs:

SelectNodes (,ALL,"find the SPEECH having 'airmen, British'")

Use the default query engine and return all documents having a SPEECH node
that matches the selection criteria

instead of

SelectNodes (ELEMENT, "SPEECH", ALL, NEXT, CONTAINS, AND, "airmen, British")

Query element nodes for a speech that includes "airmen" and "British".
Traverse to the next element if there is no match. Return all hits.


================== Ken North =============================
http://ourworld.compuserve.com/homepages/Ken_North
See you at AD2000 (www.applicationdevelopment.com)
XML DevCon 2000 (www.xmldevcon2000.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/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member