Re: XML-QL



gradyhaDB wrote:
I've been studying all the XML/XML Query stuff I can lay my hands on.

And I'm missing something: 1) I understand that data goes in the *.xml file; 2) I understand there is a *.dtd file; BUT 3) WHERE does the QUERY itself live?

Is it a separate *.xml file? Is it a *.bat file? I can't imagine it's at the bottom or top of the data file. I would think it's a separate file that somehow gets executed ... buy how?

A query doesn't usually "go" anywhere: it's something the user types
into a formfield and which gets pushed by the responding script into
the relevant place in the command structure of the query call being
use. Most XML documents (and their DTDs or Schemas) don't have "a
query". A query is something you do *to* a document, not part of a
document itself.

Having said that, if you're talking about stored procedures which
implement frequently-occurring queries, then yes of course they would
be stored in files (or possibly in fields in database tables), but
there isn't any particular place for them to go, or any particular
naming convention other than (from what I have seen) .xql filetypes.

Specific products (search engines) may well implement their own native
conventions and keep all reusable queries in a certain directory or
something, but those are application-specific details.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
.



Relevant Pages

  • Parsing XML with ElementTree (unicode problem?)
    ... (this question was also posted in the devshed python forum: ... I'm trying to parse an XML file ... where query is a query to the AWS, and this specific query has the ... some of the content with 'bla bla' string in order to make it fit ...
    (comp.lang.python)
  • Loading large file in memory or not?
    ... I'm writing a program that will query an XML file with the XmlTextReader ... or loading all the contents in the file in memory, and pick data from a tree ...
    (microsoft.public.dotnet.languages.csharp)
  • Need some problemsolving-cgi/xml
    ... then it executes a query ... then transform the xml file via xsl file to output in the browser. ... sub start_handler ...
    (comp.lang.perl.misc)
  • Re: Quilogic XML IFilter Problems
    ... I am in the process of developing .xml file search capabilities for my ... I use their RAD tool to perform a query on a test file and it generates ... When using the "Query the Catalog" ... it too is unable to find any indexed data. ...
    (microsoft.public.inetserver.indexserver)
  • Need some problemsolving-cgi/xml
    ... - then it executes a query ... - then transform the xml file via xsl file to output in the browser. ... sub start_handler ...
    (comp.lang.perl.misc)