DITA and XMetaL Discussion

  • ramu

    Specilized DTD

    Participants 2
    Replies 3
    Last Activity 8 years, 5 months ago

    Hello all,

    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.

    Reply

    Derek Read

    Reply to: Specilized DTD

    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.

    Reply

    ramu

    Reply to: Specilized DTD

    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 modifications

    Reply

    Derek Read

    Reply to: Specilized DTD

    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.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support