Hi,
Sent you a private email with some code attached ;-)
Malcolm
yeohwm <[EMAIL PROTECTED]> wrote:
Hi,
Thanks for the help. Please do let me know what jar file that I
needed and where I can find them.
Regards,
Wooi Meng
--
No virus found in this outgoing message.
Checked by AVG Free
Hi,
Thanks for the help. Please do let me know what jar file that I
needed and where I can find them.
Regards,
Wooi Meng
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.18/586 - Release Date: 12/13/2006
6:13 PM
Hi,
I used the SAX api last year to parse and index the INEX 1.4 collection using
Lucene (eventually suceeded after many naive attempts).
Can you give me a sample of the XML you are trying to parse?
Email me and I should be able to send you some code which may help.
regards,
Malcol
Hi Wooi,
>Just wondering is there anyone used Digester to extract xml content and
> index the xml file? Is there any source that I can refer to on how to
> extract the xml contents. Or is there any other xml parser is much easier to
> use?
Perhaps this article may help:
http://www-128.ibm.com
I use XmlBeans to "unmarshall" an XML file into Java objects, from which
you can easily retrieve the textual values of any element to be used for
indexing.
See http://xmlbeans.apache.org/ for more information on this library.
There are various similar libraries but I find XmlBeans superior in s