General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Documents.OpenString [boolTemplate] causes error

  • KdG

    Documents.OpenString [boolTemplate] causes error

    Participants 0
    Replies 1
    Last Activity 4 years, 8 months ago

    I noticed that since XMetaL Author Essential 12.0.0.077 the OpenString function hangs when you add the [boolTemplate]
    So Documents.OpenString(doc,1,”test.xml”,false); causes no response
    While Documents.OpenString(doc,1,”test.xml”); works fine.

    Is this a general thing or just someting with my installation?

    _________________________
    Steps to reproduce: Copy-paste the example from the Programers Guide (below) into XMetaL:

    // XMetaL Script Language JSCRIPT:
    var xmlDec = '';
    var docType = '';
    var contents1 = “

    New Document“;
    var contents2 = “Contents

    “;
    var doc = xmlDec + docType + contents1 + contents2;
    // Open the document in Tags On view
    Documents.OpenString(doc,1,”test.xml”,false);

    Reply

    Derek Read

    Reply to: Documents.OpenString [boolTemplate] causes error

    It does appear to be functioning oddly. I'll let the development team know.

    Reply

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

Lost Your Password?

Products
Downloads
Support