I just tried to nest two user macros and got this error message:
Error rendering macro 'ref-standards' : Failed to transform the HTML macro template for display.
Nested message: The XML content could not be parsed. There is a problem at line 1, column 978.
Parser message: Duplicate attribute 'id'. at [row,col {unknown-source}]: [1,978]
The outer macro was
## Macro title: Reference to standards
## Macro has a body: Y
## Body processing: Rendered
## Developed by: David Stephensen
## Date created: 17-Jun-2013
## Installed by: David Stephensen
## Encloses standards reference block in a DIV with an ID
## @noparams
<div id="ref-standards">$body</div>
and the inner one (actually there were 3 similar ones one after the other, but just putting one in did not work either) was
## Macro title: Reference to ISO 9001
## Macro has a body: Y
## Body processing: Rendered
## Developed by: David Stephensen
## Date created: 17-Jun-2013
## Installed by: David Stephensen
## Encloses ISO 9001 reference in a DIV with an ID
## @noparams
<div id="ref-iso-9001">$body</div>
All of the macros work fine individually. Am I meant to be able to do this? Is there a trick?