Xpath and DOM

uche.ogbuji at fourthought.com uche.ogbuji at fourthought.com
Sun Dec 26 21:10:27 GMT 1999


> Hmm, I'd suggest:
> 
> interface QueryFactory {
> 
>   DocumentQuery getDocumentQuery(String queryType);
> }
> 
> And have the query type, "xpath" or "xsql" passed in to the 
> factory method. Solves the plugging in of new query types, and 
> avoids having to prepend the query string with "xpath:" or whatever.

This is a _very_ astute idea, and a much more sensible way to partition the 
problem-spaces.

Mrs. Wood and co., are you listening?

-- 
Uche Ogbuji
FourThought LLC, IT Consultants
uche.ogbuji at fourthought.com	(970)481-0805
Software engineering, project management, Intranets and Extranets
http://FourThought.com		http://OpenTechnology.org



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list