Did you know? there's a simplex librarySearch Documentation:
SWI-Prolog owl logoSWI-Prolog SGML/XML parser