Issue with WorldServer encountering auto-inserted xm-replace_text

We're having issues in WorldServer when it encounters the XMetaL inserted "<?xm-replace_text [text]?>" text. As far as I can tell it happens upon topic check-out using XMetaL and is not present until checked out using SDL menu in XMetaL.

Is it possible to insert a script such as this, that removes the "<?xm-replace_text [text]?>" text upon checking in?

//XMetaL Script Language JScript:

var nodes = ActiveDocument.getNodesByXPath("//processing-instruction('xm-replace_text')");
while (nodes.length > 0) {
myparent = nodes.item(0).parentNode;
myparent.removeChild(nodes.item(0));
}

Or, have a function upon check in that sets the parent xref element to translate=no (and a corresponding function to remove it if is not present).

Parents Reply Children
  • Dear Alissa,

    Not through configuration as in the newer versions.
    Although NOT recommended (due to the older version), it could be done by Professional Services as a customization (custom coding).

    However an upgrade towards the latest version would be the preferred path towards a resolution for this as the custom coding against 2011 R2 will not be necessary/not be compatible in higher versions. The plugin mechanism has been reworked in the higher version of the tool.
  • We're hoping to in the next release of WorldServer (both systems need to concurrently upgrade). Unfortunately due to compatibility with all of our existing systems (WorldServer and what it connects to) we are stuck waiting for a future release. We're stuck where we are until the anticipated release in Sept/October of this year.