[NTG-context] \xmldocument vs #1 in \xmlsetsetup

denis.maier at unibe.ch denis.maier at unibe.ch
Mon Nov 14 14:00:00 CET 2022


Hi,
most examples in the mkiv-xml manual use #1 with \xmlsetsetup, e.g.

\startxmlsetups xml:demo:base
  \xmlsetsetup{#1}{document|section|p}{xml:demo:*}
\stopxmlsetups

However, in quite a few occasions I've noticed the usage of \xmldocument instead of #1.

What exactly is the difference ?

When should you prefer one over the other?

Best,
Denis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20221114/4a0b76ca/attachment.htm>


More information about the ntg-context mailing list