xhtml-macro vs macro

Hi everybody,

could you explain the difference between the tag xhtml-macro & macro ?

Thank you a lot

3 answers

1 accepted

This widget could not be displayed.

The plugin type xhtml-macro was introduced with Confluence 4 as replacement for the old macro type. I can not tell you the exact difference between them, but if I remember correctly the most important difference is the support for the new xhtml macro code instead of wiki markup and the support for confluence mobile.

If you want to develop a plugin for Confluence 4 or above i would suggest, only to use xhtml-macro. Only if you want to support older Confluence versions the old macro type would be appropiate

This widget could not be displayed.

You're right. I found also this explanation when I searched tutorials (about macro). And I found a tutorial for confluence 4 with <macro> and another with <xhtml-macro>. So I made the same observation but I was not sure. So now, you confirm my opinion, thank you so much !

This widget could not be displayed.


Could anyone explain the below exception when implementing <Xhtml-macro> in confluence version 5.5.0. 

"RuntimeException occurred while performing an XHTML storage transformation (null)".


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

173 views 2 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you