Step read-doctype {http://www.daisy.org/ns/pipeline/xproc}

Read the doctype declaration of an XML file.

Defined in: http://www.daisy.org/pipeline/modules/file-utils/library.xpl

Output Ports

Port Description
result primary

Example output:

                <c:result xmlns:c="http://www.w3.org/ns/xproc-step"
                          has-doctype-declaration="true"
                          name="HTML"
                          doctype-public="-//W3C//DTD HTML 4.01//EN"
                          doctype-system="http://www.w3.org/TR/html4/strict.dtd"
                          doctype-declaration="&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;"/>
            

Options

Local Name Namespace URI Default Description
href required

URI pointing to a file on disk.

May also be an entry inside a ZIP file.