Skip to content
This repository was archived by the owner on Oct 18, 2022. It is now read-only.
/ xbw Public archive

Simple implementation of the XBW XML representation

Notifications You must be signed in to change notification settings

fclaude/xbw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XBW implementation

Author: Francisco Claude <[email protected]>

This xbw implementation considers only the tree generated by the xml (tags and attributes), the
text is not represented and the index doesn't replace the original xml file. The implementation
requires libxml++2.6, for installing it in ubuntu do:

        sudo apt-get install libxml++2.6-dev libxml++2.6-2 libxml++2.6-doc

This code was writen while visiting Sebastian Maneth and Kim Nguyen in NICTA, Sydney, Australia. 

Example of use:

$ ./gen_xml -f 1 > test.xml
$ ./parser text.xml index
$ ./engine index
> help

  Valid commands: 
  - help: shows this message
  - //a/.../b: searches for path a/.../b
  - size: shows the index size
  - quit: finishes the program
  - exit: finishes the program

> //keyword

  (results: 69969 | time: 11.2871ms | index size: 6590Kb)

> size

  Index size: 6590.83Kb

> quit

$ 

About

Simple implementation of the XBW XML representation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published