DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion XMetaL 6.0 changing XML files on save?

  • james_uc

    XMetaL 6.0 changing XML files on save?

    Participants 1
    Replies 2
    Last Activity 12 years, 3 months ago

    Hi All

    I'm in the process of testing XMetaL Author Enterprise 6.0.0.122 before we upgrade from 5.1.

    When I save files, they are being changed. It looks like the XML output is tidier, it's consistently indented and long lines are split so it's easier to read. However this is inserting tab and space characters within text elements which is is affecting DITA outputs.

    It appears the new version of XMetaL is tidying up XML files, whereas 5.1 didn't. Is there a setting where I can change this behaviour?

    Reply

    Derek Read

    Reply to: XMetaL 6.0 changing XML files on save?

    We refer to this feature as pretty printing.

    You can toggle this feature off/on for DITA documents by running two different scripts we provide and are listed in the Macros toolbar:

    DITA Configuration: Turn OFF Pretty-Printing
    DITA Configuration: Turn ON Pretty-Printing

    Reply

    james_uc

    Reply to: XMetaL 6.0 changing XML files on save?

    Hi Derek

    Thanks for that, it works a treat.

    James

    Reply

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

Lost Your Password?

Products
Downloads
Support