- From: <denis.maier@unibe.ch>
- Date: Fri, 22 May 2026 12:37:25 +0000
- To: <xproc-dev@w3.org>
- Message-ID: <GV0P278MB0211AEC001A82643C109A7E4830F2@GV0P278MB0211.CHEP278.PROD.OUTLOOK.COM>
Hi,
I'm playing around with DTDs and attribute expansion (or, rather, suppression thereof). In Morgana, this will suppress expansion.
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:mox="http://www.xml-project.com/morganaxproc"
version="3.0">
<p:output port="result" serialization="map{'indent': true()}"/>
<p:load href="inputs/04-boxed-text-jats.xml">
<p:with-option name="parameters" select="map{
xs:QName('mox:expand-default-attributes'): false()
}"/>
</p:load>
<p:identity/>
</p:declare-step>
1. This only works on p:load. As far as I see, even if Achim wanted to implement the same mechanism on p:input, that wouldn't work there as p:input won't take parameters.
2. Is there a simimlar mechanism for calabash? I couldn't find anything in the documentation.
Best,
Denis
Received on Friday, 22 May 2026 16:13:22 UTC