Am 07.01.2011 22:52, schrieb Hans Hagen:
On 7-1-2011 7:04, Achim Jander wrote:
\startxmlsetups xml:title \startchapter[ \xmlcommand{#1}{.}{xml:splitHeader}
title=... Thanks. So it seems not to be possible, to have the whatever= part inside an xmlcommand? I even tried things like
\xmldoifelse{#1}{/num}{\xmlcommand{#1}{/num}{ownnumber=123}}{number=no} to set either ownnumber or number but with the same error Achim
%number=\xmldoifelse{#1}{/num}{yes}{no}, %works %ownnumber=\xmldoifelse{#1}{/num}{\xmlcommand{#1}{/num}{xml:ueberForceFlush}}{},%works
%title={\xmlflush{#1}},%works
there's also \xmlraw{#1}{spec} which works nice with tables of content as it passes the node id
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------