On Wed, 2 May 2001 14:31:09 -0700 "Kimbro Staken" <[EMAIL PROTECTED]> wrote:
> Look at the latest IDL, there are only two resource types now XMLResource > and BinaryResource. You can use XMLResource to get a text, DOM or SAX view > of the underlying XML resource. Ok, thanks. I didn't realize this modification. > Kimbro Staken > Chief Technology Officer > The dbXML Group L.L.C. > http://www.dbxmlgroup.com > ----- Original Message ----- > From: "Lars Martin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, May 02, 2001 5:09 AM > Subject: Re: Collection.createResource() > > > > > > On Mon, 30 Apr 2001 17:42:36 -0700 > > Kimbro Staken <[EMAIL PROTECTED]> wrote: > > > > > It seems Collection.createResource needs to take a parameter to tell it > > > what type of resource to create. > > > Collection.createResource(id, resourceType) > > > > > > Where resourceType is either "XMLResource" or "BinaryResource". > > > > This is somewhat confusing to me. ResourceType was introduced to > > distinguish between the various XML models (DOM, SAX, XML, Binary). > > XMLResource labels the current Resource to provide functionality > > to store and retrieve the actual content as flat XML. How do I > > specify a Resource that provides a SAX interface? Either resourceType > > can be of any of these types (DOM, SAX, XML, Binary) or this parameter > > must be renamed. -- ______________________________________________________________________ Lars Martin mailto:[EMAIL PROTECTED] SMB GmbH http://www.smb-tec.com ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact adminstrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------