[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: need for defining standard APIs for xml storage
<< 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/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|