-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, it's all in the docs: http://modis.ispras.ru/sedna/progguide/ProgGuidesu8.html#x14-450002.5
Create a collection: CREATE COLLECTION coll-name-expr Create a new (empty) document in the collection: CREATE DOCUMENT doc-name-expr IN COLLECTION coll-name-expr Upload a new document into a collection: LOAD "path_to_file" "document_name" "collection_name" Colton Smith schrieb: > Hi, > > I'm very new to sedna and xquery. > > Using xquery, how do I create a collection and then add a document? Does > the document have to have the same schema as the rest of the documents in > the collection? > > Thanks! > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > > > ------------------------------------------------------------------------ > > _______________________________________________ > Sedna-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sedna-discussion - -- Rüdiger Gleim Abteilung für geisteswissenschaftliche Fachinformatik / Department for Computing in the Humanities Goethe-Universität Frankfurt am Main Georg-Voigt-Straße 4 D-60325 Frankfurt am Main Postfach / P.O. Box: 154 Tel.: +49-69-798-28926 Fax.: +49-69-798-28931 Email: [email protected] Web: http://www.hucompute.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJK1H1sAAoJELxedKt1QGO3WZEH/iZ4Ett/Ddqt4lQKT0nfjDRt eWZ5ecFcu5JabrwJar6xed8Y2NWCWj3AhkK+uu6CryMoHXDQlI2pN4pT0ETTOqFA nvxrJfEQiPia+7my4D8Nx858nkqF3rw2t4d0z90UunyB086PfIDRyOt+9PbqbhUI CPdWncHlvAk485YY+B6Qt4qktUKcbQ8IbjMhXoJns2ZrjF3EVDJFtKBlV6ma4hz0 mY3nVfLLx1bzmsCLB6RMDdRbNQ80sSnc/kFBusvm8yCppwL64pWJyxGku+2Yuse0 GlZEODXbaYK9DWLll3q+/tAvlbG3L/BLA31JyzBffGPlnafWzachSRE+7V2ACIE= =6T9f -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Sedna-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sedna-discussion
