Hello,

so, is it possible for me to write an instance of generic, parametrizable, 
table editor command with which I map my elements onto the elements of docbook 
and afterwards using the docbook functions?

I tried to write such an instance: 

<command name="ln.calsTableEdit">
        <class>com.xmlmind.xmleditapp.tableedit.GenericTableEdit</class>
</command>

<property name="ln.calsTableEdit.tableSpecification">
        table=calstable
        row=row
        cell=entry
</property>

But everytime I try to open an XML-File I get the message: "Kann folgende 
Kommandos nicht registrieren: 
Kann Kommando "ln.calsTableEdit" anmelden: 
com.xmlmind.xmleditapp.tableedit.GenericTableEdit"

kind regards,
Monika

-----Urspr?ngliche Nachricht-----
Von: Hussein Shafie [mailto:hussein at xmlmind.com] 
Gesendet: Freitag, 21. April 2006 10:12
An: Madlik, Monika (LNG-VIE)
Cc: xmleditor-support at xmlmind.com
Betreff: Re: [XXE] problem with calstable and docbook

Madlik, Monika (LNG-VIE) wrote:
> 
> I have some problems to adapt the docbook functions for tables (insert
> row, ...) in the XML-Mind-Editor. 
> 
> I work with the calstable-model too. But the elements of our tables got
> different names, i.e. the docbook-element "table" is called "calstable".
> 
> 
> Is it possible to use the docbook functions in this case?

No, this is not possible. The commands used to edit CALS tables assume
that table elements have the same *local* *name* as in the DocBook DTD.

On the other hand,
- the namespace of table elements may be absent or may be anything you want
- and an "entry" element (i.e. a cell) may contain anything you want.

This is for example the case of DITA where CALS tables are called
"table" and other tables are called "simpletable".


Reply via email to