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
  • Hmm ... yes I'm sure that the 't' option for <tr> and </Pb> were available as of the XPP 8.4.0 release. What I forgot was that the documentation of such did not make it into the XyMacros manual until the next (XPP 9.0) release.

    However, this new feature was documented in the XPP 8.4 Release Notes. See section "3.7 Including Edit Traces in Text Captured in Text Registers* (#41960)" on pages 14 and 15 of the Release Notes.

    Also keep in mind that all the latest (and some older) release XPP documentation is publicly available at http://docs.sdl.com - hot fixed manuals are released to this web site.

    If you want to see the (actual) documentation in the XyMacros manual on the pages that I referenced earlier (i.e. in the XPP 9.2 version), then go to that web site and scroll down to the SDL XPP section and click on the "SDL XPP 9.2" link. Then you can navigate around to view a Change Log page or click on "Downloads" and then "SDL XPP documentation individual PDF downloads" to get to a page with a table containing links to the latest versions (for that XPP release) of each manual.

    You can also click on the "9.2" drop-down on the "home" page and select other values to be able to navigate to older release documentation (other current choices are 8.4, 9.0, and 9.1).

    Jonathan Dagresta
    RWS Group/
    XPP Development

Children
No Data