Skip to main content.
home | support | download

Back to List Archive

Re: XML and XHTML support

From: David L Norris <dave(at)>
Date: Fri Dec 12 2003 - 19:17:07 GMT
On Fri, 2003-12-12 at 07:27, Heimo Hanninen wrote:
> A simple question. is it possible and how to
> index and search string in context (XML element or
> attribute).

> I am testing windows binaries (latest 2.4.0) on
> command line, and
> believe having libxml2 on board by default?

libxml2 2.4.25 is included with the Windows build.  You may need to
enable it (XML2 or HTML2) using DefaultContents or IndexContents
directives in the config file.

> I just couldn't quite figure it out from
> documentation how to set up:
> -config file
> -run indexing (this I guess follows the normal path)

> -do proper context searching

> -does the source have to be XML (XHTM)? I guess yes in
> order to parse correctly...

HTML, XML, or plain text.  HTML2 and XML2 parsers use libxml2.

 David Norris
  ICQ - 412039
Received on Fri Dec 12 19:17:12 2003