8 library(pwp): Prolog Well-formed Pages
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog SGML/XML parser
library(pwp): Prolog Well-formed Pages
pwp_files/2
pwp_stream/3
pwp_xml/3
Availability:
:- use_module(
library(pwp)
).
(can be
autoloaded
)
pwp_xml
(
:In:list(xml), -Out:list(xml), +Context
)
maps down a list of XML items, acting specially on elements and copying everything else unchanged, including white space. The
Context
is a list of’VariableName’=CurrentValue bindings.