I'm trying to add a couple of buttons to my document with this configuration
below that I copied from the XHTML configuration.

The buttons are added but they don't work and are greyed out in the
document.

Can someone give me a simple list of steps I need to take to add a button
like this?

Thanks
Steve



<?xml version="1.0" encoding="UTF-8"?>
<configuration name="Assessment"
  xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration
                      ../configuration/xsd/configuration.xsd"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration";
  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration";>

  <load location="xhtml.jar" />

  <detect>         
<rootElementNamespace>http://www.xmlmind.com/xmleditor/schema/assessment</ro
otElementNamespace>
  </detect>

  <schema>
    <location>http://www.xmlmind.com/xmleditor/schema/assessment
assessment.xsd</location>
  </schema>

  <css location="assessment.css" name="Assessment Style"/>

  <template location="assessment.xml" name="Assessment template"/>


  <toolBar>
    <button toolTip="Convert to italic" icon="../common/icons2/i.gif">
      <command name="convert" parameter="[implicitElement] italic" />
    </button>

    <button toolTip="Convert to bold" icon="../common/icons2/b.gif">
      <command name="convert" parameter="[implicitElement] bold" />
    </button>

  
  </toolBar>
</configuration>


Reply via email to