Expanded tabs in all source files. Added vim/emacs local variables
[yazpp-moved-to-github.git] / zoom / canonical.cpp
1 /* g++ -g -o canonical canonical.cpp -lyaz++ -lyaz -lxml2 */
2
3 #include <iostream>
4 #include <yaz++/zoom.h>
5
6 using namespace ZOOM;
7
8 int main(int argc, char **argv)
9 {
10     connection conn("z3950.loc.gov", 7090);
11     conn.option("databaseName", "Voyager");
12     conn.option("preferredRecordSyntax", "USMARC");
13     resultSet rs(conn, prefixQuery("@attr 1=7 0253333490"));
14     const record rec(rs, 0);
15     std::cout << rec.render() << std::endl;
16 }
17 /*
18  * Local variables:
19  * c-basic-offset: 4
20  * indent-tabs-mode: nil
21  * End:
22  * vim: shiftwidth=4 tabstop=8 expandtab
23  */
24