General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion XMax : Insert image with a S1000D DTD

  • nicolas.labrot

    XMax : Insert image with a S1000D DTD

    Participants 1
    Replies 2
    Last Activity 11 years, 6 months ago

    Hello,

    I'm trying to insert new image inside a ASD 1.7 data module (in XML).

    The image must be first declared as an external entity with a notation ndata.

    For example :


    “dm_tiger_avee_d_1_0.dtd” [

    ]>

    I don't know how to do it.

    I have found the method DeclareGraphicEntity but it doesn't work.

    I have found the method DeclareExternalEntity but this method doesn't take an argument for the notation

    Thanks for your help,

    Nicolas

    Reply

    Derek Read

    Reply to: XMax : Insert image with a S1000D DTD

    You are saying that DeclareGraphicEntity() is failing. I'm assuming you mean the DeclareGraphicEntity() API seems to be failing to insert an ENTITY into the document's internal subset. Can you let use know which version of the S1000D DTDs you are using? If the NOTATIONs are declared in the DTD then this should work.

    There is a limitation with XMetaL that could stop this API from functioning. If you declare an ELEMENT or NOTATION inside the internal subset of the XML document then the internal subset becomes read only for Tags On and Normal view. However, given what you have shown me that is not the case so I don't know why you are having trouble. ENTITY declarations can be added to the document in Tags On and Normal view using various APIs including DeclareGraphicEntity, and in XMetaL Author using the menu items and dialogs provided for that purpose.

    Can you submit a sample of the files needed to reproduce your problem to XMetaL Support so they can try to reproduce your problem and show you how to configure things to work properly?

    Please also let us know if you are working with XMetaL Author Essential, XMetaL Author Enterprise, or XMAX and which version of the product you have.

    I am using the S1000D 2.3 DTDs right now with XMetaL Author Enterprise 6.0.1.030 and the DeclareGraphicEntity() API is working fine for me. There is a special notations.ent included with this version of the DTDs so there is no need to declare the notation types anywhere else.

    Reply

    nicolas.labrot

    Reply to: XMax : Insert image with a S1000D DTD

    Hello Derek,

    Thanks for your answer. I'm using XMax 6 (cf. subject for XMax)/

    I have in the subset the notation :

    Without this notation all work fine.

    I will remove it.

    Nicolas

    Reply

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

Lost Your Password?

Products
Downloads
Support