p:namespace-delete — The standard p:namespace-delete step.
The p:namespace-delete
step deletes all of the namespaces identified by the specified
prefixes from the document appearing on port source.
Input port | Primary | Sequence | Content types |
---|
source | ✔ | | xml html |
Output port | Primary | Sequence | Content types |
---|
result | ✔ | | xml html |
Option name | Type | Required |
---|
prefixes | xs:string | ✔ |
Declaration
1 |<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
| <p:input port="source" content-types="xml html"/>
| <p:output port="result" content-types="xml html"/>
| <p:option name="prefixes" required="true" as="xs:string"/>
5 |</p:declare-step>
Errors
Code | Description |
---|
err:XC0108 | It is a dynamic error (err:XC0108 ) if any
prefix is not in-scope at the point where the p:namespace-delete occurs. |
err:XC0109 | It is a dynamic error (err:XC0109 ) if
a namespace is to be removed from an attribute and the element already has an attribute
with the resulting name. |