ADDED: load_xml/3 to load XML files from streams, files and strings.

This commit is contained in:
Markus Triska
2020-06-21 08:35:08 +02:00
parent 4603163e88
commit 32eb896c56
5 changed files with 127 additions and 15 deletions

View File

@@ -425,8 +425,9 @@ The modules that ship with Scryer Prolog are also called
* [`http/http_open`](src/lib/http/http_open.pl) Open a stream to
read answers from web servers. HTTPS is also supported.
* [`sgml`](src/lib/sgml.pl)
`load_html/3` represents HTML documents as Prolog terms
for convenient and efficient reasoning. See also `library(xpath)`.
`load_html/3` and `load_xml/3` represent HTML and XML documents
as Prolog terms for convenient and efficient reasoning. Use
`library(xpath)` to extract information from parsed documents.
* [`xpath`](src/lib/xpath.pl)
The predicate `xpath/3` is used for convenient reasoning about
HTML and XML documents, inspired by the XPath language. This