Hi, There is however the possibility of base-64 encoding any type of file. Base 64 encoded data can be embedded as textual data inside an XML file which can be stored in Xindice. See http://www.javaworld.com/javaworld/javatips/jw-javatip117_p.html for an insight into how this can be done.
To implement this functionality in Java, you could use the class org.apache.soap.encoding.soapenc.Base64 which is in the Apache SOAP distribution at http://xml.apache.org/soap which will convert String or byte array to base 64 encoded equivalent. Regards, Peter -----Original Message----- From: Kimbro Staken [mailto:[EMAIL PROTECTED] Sent: Friday, March 22, 2002 12:00 PM To: [email protected] Subject: Re: Files other than xml On Friday, March 22, 2002, at 03:42 AM, Wei-Chin Hsieh wrote: > Hello, > > Does Xindice allow files other than xml to be stored? I want to have a > reference pointing to a CAD file or an image file in the xml file. Is it > possible put those files in Xindice? > It just stores XML. > Thanks > > Wei-Chin > > Kimbro Staken Java and XML Software, Consulting and Writing http://www.xmldatabases.org/ Apache Xindice native XML database http://xml.apache.org/xindice XML:DB Initiative http://www.xmldb.org
