![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
29 Nov
2005
29 Nov
'05
8:37 a.m.
Johannes Graumann wrote:
but this doesn't work ...
But it worked fine for me!? Anyway, it is probably a better idea to do it like this: \defineXMLenvironment [list]% {% \let\listoptions\empty \XMLifequalelse{list}{setup}{n} {\appendtocommalist{n}\listoptions} {}% \XMLifequalelse{list}{packed}{yes} {\appendtocommalist{packed}\listoptions} {\appendtocommalist{unpacked}\listoptions}% \expanded{% \startitemize[\listoptions]% }% }% {\stopitemize} Because that way, the xml attributes can be optional. If it still doesn't work, please explain what goes wrong. Greetings, Taco