December 1999
Intermediate to advanced
992 pages
22h 3m
English
A hypothetical XQL engine is presented with two pieces of information: the search context and the query.
The search context may be a flat XML file or a reference to a file. The form this takes is up to the individual implementations. Unless stated otherwise, we will be using movies.xml in all our examples (see Listing 22.1).
<?xml version="1.0" standalone="no"?> <!DOCTYPE movies SYSTEM "Movies.dtd" [ <!NOTATION JPEG SYSTEM "c:\progra~1\intern~1\IExplore.exe"> <!-- <!NOTATION JPEG SYSTEM "IExplore.exe"> --> <!ENTITY raposter SYSTEM "RAPoster.jpg" NDATA JPEG> <!ENTITY mrposter SYSTEM "MRPoster.jpg" NDATA JPEG> <!ENTITY tusposter SYSTEM "TUSPoster.jpg" NDATA JPEG> <!ENTITY taposter SYSTEM ... |
Read now
Unlock full access