Did you know ...
Search Documentation:
Predicate xmlns/2
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
ext
sgml
sgml.pl -- SGML, XML and HTML parser
xpath.pl -- Select nodes in an XML DOM
sgml_write.pl -- XML/SGML writer module
xml_write/2
sgml_write/2
html_write/2
xml_write/3
sgml_write/3
html_write/3
xmlns/2
pwp.pl -- Prolog Well-formed Pages
c14n2.pl -- C14n2 canonical XML documents
iso_639.pl
xsdp_types.pl -- XML-Schema primitive types
xmlns
(?NS, ?URI)
is
nondet
[multifile,
library(sgml_write)
]
Hook to define human readable abbreviations for XML namespaces.
xml_write/3
tries these locations:
This hook
Defaults (see below)
rdf_db
:ns/2
for RDF-DB integration
Default XML namespaces are:
xsi
http://www.w3.org/2001/XMLSchema-instance
xs
http://www.w3.org/2001/XMLSchema
xhtml
http://www.w3.org/1999/xhtml
soap11
http://schemas.xmlsoap.org/soap/envelope/
soap12
http://www.w3.org/2003/05/soap-envelope
See also
-
xml_write/2
,
rdf_register_ns/2
.