Changes

Jump to navigation Jump to search
1,863 bytes added ,  02:13, 6 February 2011
no edit summary
! Parameter
! Description
! RestrictionsValue
! Default
! Examples
|- valign="top"
| <code>cdata-section-elements</code>
| List of elements to be output as CDATA, separated by whitespaces(e.g.: <code>&lt;text&gt;&lt;![CDATA[ &lt;&gt; ]]&gt;&lt;/text&gt;</code>).
|
|
|- valign="top"
| <code>standalone</code>
| Prints or omits the "standalone" attribute in the XML declaration, which states if the document has[http://www.w3.org/TR/REC-xml/#sec-rmd any external markup declarations].
| <code>yes,no,omit</code>
| <code>omit</code>
| <code>standalone=yes</code>
|- valign="top"
| <code>doctype-system</code>
| Introduces the output with a document type declaration and the given system identifier.
|
|
| <code>doctype-system=entities.dtd</code>
|- valign="top"
| <code>doctype-public</code>
| If <code>doctype-system</code> is specified, adds a public identifier.
|
|
| <code>doctype-public=-//W3C//DTD HTML 4.01//EN,<br />doctype-system=http://www.w3.org/TR/html4/strict.dtd</code>
|- valign="top"
| <code>undeclare-prefixes</code>
| Undeclares prefixes in XML 1.1.
| <code>yes,no</code>
| <code>no</code>
| <code>undeclare-prefixes=yes</code>
|- valign="top"
| <code>normalization-form</code>
| Specifies a normalization form. BaseX supports Form C (<code>NFC<code>).
| <code>NFC,none</code>
| <code>NFC</code>
| <code>normalization-form=none</code>
|- valign="top"
| <code>media-type</code>
| Specifies the media type.
|
| <code>application/xml</code>
| <code>media-type=text/plain</code>
|- valign="top"
| <code>use-character-maps</code>
| Defines character mappings (not supported).
|
|
|
|- valign="top"
| <code>byte-order-mark</code>
| Prints a byte-order-mark before starting serialization.
| <code>yes,no</code>
| <code>no</code>
| <code>byte-order-mark=yes</code>
|- valign="top"
| <code>escape-uri-attributes</code>
| Escapes URI information in certain HTML attributes (e.g.: <code>&lt;a&nbsp;href="%C3%A4%C3%B6%C3%BC"&gt;äöü&lt;a&gt;)</code>.
| <code>yes,no</code>
| <code>no</code>
| <code>escape-uri-attributes=yes, method=html</code>
|- valign="top"
| <code>include-content-type</code>
| Includes a <code>meta</code> content-type element if the result is output as HTML (e.g.: &lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;&lt;/head&gt;).
| <code>yes,no</code>
| <code>no</code>
| <code>include-content-type=yes, method=html</code>
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu