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 5 years ago

    I noticed that since XMetaL Author Essential 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


    Derek Read

    Reply to: Documents.OpenString [boolTemplate] causes error

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


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

Lost Your Password?