Changes

Jump to navigation Jump to search
78 bytes removed ,  13:31, 28 June 2019
m
Made link to Wikipedia HTTPS for binary example - as HTTP returns nothing
=Conventions=
All functions and errors in this module are assigned to the <code><nowiki>http://basex.org/modules/html</nowiki></code> namespace, which is statically bound to the {{Code|html}} prefix.<br/>All errors are assigned to the <code><nowiki>http://basex.org/errors</nowiki></code> namespace, which is statically bound to the {{Code|bxerr}} prefix.
=Functions=
|-
| width='120' | '''Signatures'''
|{{Func|html:parse|$input as xs:anyAtomicType|document-node()}}<br />{{Func|html:parse|$input as xs:anyAtomicType, $options as map(xs:string, item()*)?|document-node()}}<br />
|-
| '''Summary'''
|-
| '''Errors'''
|{{Error|BXHL0001parse|#Errors}} the input cannot be converted to XML.
|}
;Query:
<pre class="brush:xquery">
html:parse(fetch:binary("httphttps://en.wikipedia.org"))
</pre>
|Description
|-
|{{Code|BXHL0001parse}}
|The input cannot be converted to XML.
|}
=Changelog=
 
;Version 9.0
 
* Updated: error codes updated; errors now use the module namespace
The module was introduced with Version 7.6.
administrator, editor
33

edits

Navigation menu