General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Change Tracking when loading xml with change-PIs by LoadFromFile() in XMAX 5.5
-
mlatzig February 2, 2010 at 3:09 pm
Change Tracking when loading xml with change-PIs by LoadFromFile() in XMAX 5.5
February 2, 2010 at 3:09 pmParticipants 0Replies 1Last Activity 13 years, 1 month agoHi,
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
GermanyDerek Read February 2, 2010 at 7:54 pm
Reply to: Change Tracking when loading xml with change-PIs by LoadFromFile() in XMAX 5.5
February 2, 2010 at 7:54 pmI 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.
-
AuthorPosts
- You must be logged in to reply to this topic.