How to keep trace xyps AND pass text to Perl

Capturing text in a text using suppress and passing it to Perl strips the tracing from that text.

i.e. '1.02' deleted, '1.01' inserted.

If I turn off the suppress and the call to Perl I get:

1.02 1.01

which is correct. However, once I turn the suppress back on and pass the text to Perl, only the '1.01' is received.

The reason I need to pass the text in the first place is to 'read' the content and output additional text/characters based on the content.

Parents Reply
  • Hi Mark,

    The only documentation is what I've mentioned in earlier posts - the XPP 8.4 Release Notes and the descriptions under <tr> and </Pb> in the XyMacros manual (XPP 9.0 and later versions).

    That's where it also discusses the limitations, as I also mentioned in an earlier post - you can only round-trip the edit traces in certain very limited cases (and one case that you cannot do so is in the main text stream).

    And before you ask, there is already an RFE issue on the Product Backlog (meaning not committed) asking for being able to "do edit traces out of XyPerl into the main text stream".

    If you want to "chime in" on that RFE issue, then I suggest you open a case with support and reference this RFE issue XPP-1482.

    But really the new "method" for handling enhancement type requests for SDL products is now the Ideas community pages - for XPP that would be at ideas-xpp.

    Jonathan Dagresta
    RWS Group/
    XPP Development

Children