<?xml version="1.0"?> <title>TCP/IP Illustrated</title><title>Advanced Programming in the Unix Environment</title><title>Data on the Web</title><title>The Economics of Technology and Content for Digital TV</title>
Algorithm for converting sequence to a document fragment:
Convert each atomic value to a string.
Concatenate adjacent strings after separating them with a single space.
Change the strings to text nodes
Replace any document node in the sequence with its children.
It is a serialization error if the sequence contains an attribute node or a namespace node at this point.
Output methods:
xml
html
xhtml
Serialization options:
version
encoding
indent
cdata-section-elements
omit-xml-declaration
standalone
doctype-system
doctype-public
undeclare-prefixes
media-type
byte-order-mark
escape-uri
normalization-form
include-content-type
escape-uri-attributes
use-character-maps