0

Following this answer, I was able to insert some text with Firefox like this

css

body
{
  -moz-binding: url(foo.xml#bar);
}

foo.xml

<bindings xmlns="http://www.mozilla.org/xbl">
  <binding id="bar">
    <content>
      Hello world
    </content>
  </binding>
</bindings>

However I could not find a way to insert HTML rather text using this method.

Community
  • 1
  • 1
Zombo
  • 1
  • 62
  • 391
  • 407

1 Answers1

0

It appears that I just need to declare the XHTML namespace

<bindings xmlns="http://www.mozilla.org/xbl"
    xmlns:html="http://www.w3.org/1999/xhtml">
  <binding id="bar">
    <content>
      <html:b>
        Hello world
      </html:b>
    </content>
  </binding>
</bindings>
Zombo
  • 1
  • 62
  • 391
  • 407