Thanks for your guidance. I am really struggling to come to terms with all these different terms etc.
I have managed to get my buttons to work but am now really having problems trying to produce a pdf document from these files. I have tried to modify the example of the docubook pdf command but all I get is root element must be root, not http://....assessment:assessments I really don't understand the problem. I have tried converting this with fop from the terminal window and it still has a couple of errors but it does produce a pdf file. Any help would appreciated. Thanks Steve > From: Hussein Shafie <hussein at pixware.fr> > Organization: Pixware > Reply-To: "xmleditor-support at xmlmind.com" <xmleditor-support at > xmlmind.com> > Date: Tue, 01 Jun 2004 10:38:12 +0200 > To: "Tongue, Steve" <Steve.Tongue at openpolytechnic.ac.nz> > Cc: "xmleditor-support at xmlmind.com" <xmleditor-support at xmlmind.com> > Subject: Re: [XXE] Toolbar commands > > Tongue, Steve wrote: >> 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? >> >> <?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> > > Your <italic> and <bold> elements probably belong the > "http://www.xmlmind.com/xmleditor/schema/assessment" namespace, if this > is the case, you need to specify: > > --- > <command name="convert" parameter="[implicitElement] > {http://www.xmlmind.com/xmleditor/schema/assessment}bold" /> > --- > > (a single space between "[implicitElement]" and > "{http://www.xmlmind.com/xmleditor/schema/assessment}bold") > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/applefile Size: 490 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040604/34698a4e/attachment.bin -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040604/34698a4e/attachment.bat -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/applefile Size: 490 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040604/34698a4e/attachment-0001.bin -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040604/34698a4e/attachment-0001.bat -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 12182 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040604/34698a4e/attachment.dll -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: not available Url: http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040604/34698a4e/attachment-0002.bat

