General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Change Tracking when loading xml with change-PIs by LoadFromFile() in XMAX 5.5

  • mlatzig

    Change Tracking when loading xml with change-PIs by LoadFromFile() in XMAX 5.5

    Participants 0
    Replies 1
    Last Activity 13 years, 1 month ago

    Hi,

    When loading a doc with some change-PIs (like ) included in the xml code (from an older author session) in XMAX 5.5 by LoadFromFile() the initial changes are not tracked inside the

    Document.ChangedNodes property,

    though they are shown in the normal/tagon-view. When enabling TrackingRevisions=true after that newer changes are tracked in the right way.

    Is it possible to enable “change tranking” when loading a file in a new session with such PIs included in the xml code in XMAX?

    Mario Latzig
    KGU-Consulting GmbH
    24941 Flensburg
    Germany

    Reply

    Derek Read

    Reply to: Change Tracking when loading xml with change-PIs by LoadFromFile() in XMAX 5.5

    I think we're confusing two different features.

    The ChangedNodes API tracks changes made to the document after it is open. The changes that are tracked are not connected to the Change Tracking feature directly, any node that is changed is added to this list. The Change Tracking featureĀ  (aka: Revision Marking) simply wraps text and markup inside PIs marking it as inserted or deleted by specific users. The fact that they share a similar name is incidental (and perhaps unfortunate that it seems to have confused you into thinking they are, or should be, connected).

    Perhaps you could explain in detail what you are trying to build so we can try suggest a way to accomplish it using existing APIs and functionality.

    Reply

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

Lost Your Password?

Products
Downloads
Support