ac:macro
Confluence macro
Element Information
Namespace: http://www.atlassian.com/schema/confluence/4/ac/
Schema Document: confluence.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Any text (mixed) content, intermingled with:
- Sequence
[1..1]
- ac:parameter [0..*] Named parameter of Confluence macro. A macro can contain many named parameters.
- ac:default-parameter [0..1] Default (no name) parameter of Confluence macro. A macro can contain only one default parameter.
- Choice
[0..1]
- ac:rich-text-body Rich text body of Confluence macro. A macro can contain only one (either rich or plain) text body.
- ac:plain-text-body Plain text body of Confluence macro. A macro can contain only one (either rich or plain) text body.
Attributes
| Name | Occ | Type | Description | Notes |
|---|---|---|---|---|
| ac:name | [1..1] | xsd:string |
Used In
- Group ac:confluence.ac.block
- Group ac:confluence.ac.inline
- Anonymous type of element a via reference to ac:confluence.ac.inline
- Anonymous type of element h1 via reference to ac:confluence.ac.inline
- Anonymous type of element h2 via reference to ac:confluence.ac.inline
- Anonymous type of element h3 via reference to ac:confluence.ac.inline
- Anonymous type of element h4 via reference to ac:confluence.ac.inline
- Anonymous type of element h5 via reference to ac:confluence.ac.inline
- Anonymous type of element h6 via reference to ac:confluence.ac.inline
- Anonymous type of element li via reference to ac:confluence.ac.inline
- Anonymous type of element p via reference to ac:confluence.ac.inline
- Anonymous type of element span via reference to ac:confluence.ac.inline
- Anonymous type of element td via reference to ac:confluence.ac.inline
- Anonymous type of element th via reference to ac:confluence.ac.inline
- Type a.content via reference to ac:confluence.ac.inline
- Type Block via reference to ac:confluence.ac.block (Elements blockquote, ac:confluence)
- Type Flow via reference to ac:confluence.ac.inline (Elements del, ac:rich-text-body, ac:link-body)
- Type Inline via reference to ac:confluence.ac.inline (Elements em, strong, code, cite, sub, sup, i, b, big, small, u, s)
Sample Instance
<ac:macro ac:name="string">Any text, intermingled with: <ac:parameter ac:name="string">Any text</ac:parameter> <ac:default-parameter>Any text</ac:default-parameter> <ac:rich-text-body>Any text, intermingled with: <p>Any text, intermingled with: <a>Any text, intermingled with:... </a> </p> </ac:rich-text-body> </ac:macro>