DITA and XMetaL Discussion
ramu April 7, 2014 at 10:55 am
Specilized DTDApril 7, 2014 at 10:55 amParticipants 2Replies 3Last Activity 8 years, 10 months ago
I have a DTD which is created according to our requirements. Using this DTD, i am trying to create a topic in XMetal. So many elements are working fine which i have specified in DTD except image and table elements are not working.
Please help me how this elements are also works to my DTD.Derek Read April 7, 2014 at 6:09 pm
Reply to: Specilized DTDApril 7, 2014 at 6:09 pm
Provided you followed the instructions in the documentation, support for DITA specialization should just work for all elements with one exception (just brought to light by you here). Specializing the CALS table model (the DITA table model that uses the element names table, tgroup, colspec, thead, tbody, row, entry) will allow your documents to still be fully editable, it is just that the built-in table editing support to “graphically” display and “graphically” edit this type of table will not function. Presumably this is your issue.
If you have specialized the CALS table model you will need to live without CALS table editing support (there is no “fix” or workaround I can think of). The alternative is to avoid specializing this type of table.
This limitation is not documented because nobody anticipated a client might wish to do this.
I'm not sure what would cause your issue with images. Please submit your specialized DTD to XMetaL Support so they can have a look at it to see if there is something obvious that can be corrected, either with the DTD or the customization files XMetaL Author Enterprise generates when you choose Tools > Select Specialized DITA DTD.ramu April 15, 2014 at 6:37 am
Reply to: Specilized DTDApril 15, 2014 at 6:37 am
Thanks Derek for your response.
The table element works fine. But image elements still creates some issue.
Here is my Image element definition.
src CDATA #REQUIRED
alt CDATA #IMPLIED
align CDATA #IMPLIED
width CDATA #IMPLIED
height CDATA #IMPLIED
caption (before | after) “after”
“id ID #IMPLIED
class NMTOKEN #IMPLIED
style CDATA #IMPLIED
type NMTOKEN #IMPLIED
lang NMTOKEN #IMPLIED”
the problem i am facing is the image icon in xmetal is not highlighting. if we use image element from element list, i am unable to use that.
please help me whether I am on right path or need to some modificationsDerek Read April 15, 2014 at 8:19 pm
Reply to: Specilized DTDApril 15, 2014 at 8:19 pm
Please provide the specialized DTD — the whole set of files — so we can test exactly what you are working with. If you prefer not to post that here please submit a support case to [url=http://xmetal.com/contact-support/]XMetaL Support[/url].
What I suspect is going on is that the CTM file that is auto-generated is just not getting the right setting in it to identify this element as an image.
- You must be logged in to reply to this topic.