Step parse-xml-stylesheet-instructions {http://www.daisy.org/ns/pipeline/xproc}

Extract and parse <?xml-stylesheet?> processing instructions from a document.

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

Input Ports

Port Description
source primary

XML document with <?xml-stylesheet?> processing instructions

Output Ports

Port Description
result primary

d:xml-stylesheet-instructions document

fileset

The result as a d:fileset document. Files that stem from a PI with a media pseudo-attribute get a stylesheet-media attribute. The media-type is inferred from the file extension if the PI has no type pseudo-attribute.