AW: p.wrap and attributes

> -----Ursprüngliche Nachricht-----
> Von: Imsieke, Gerrit, le-tex <gerrit.imsieke@le-tex.de>
>
> Yes, I'm afraid you need another p:add-attribute step. Or use XSLT for the
> whole thing in one go.

Ok, then I'll go with XSLT for that case.

In a future xproc version, would it make sense to add something to cover the attributes here as well? Something like:

<p:wrap match="xhtml:p[@class='reflist-item']" wrapper="Q{{http://www.w3.org/1999/xhtml}}div" group-adjacent="@class">
<p:with-attribute name="" value="">
</p:wrap>

Received on Thursday, 9 January 2025 14:48:57 UTC