Reply to: Trap links in Page Preview?May 26, 2014 at 9:05 pm
At that point XMetaL has no events you could hook into. For this to work I think your initial transformation would need to put code into the (first) HTML page, hooking an event inside of IE that would do this secondary stuff.
However, perhaps, given that the first page contains a link to another page, you could build some kind of “generate output by following links” feature into your output generator. It would look for your links, find those pages and generate output for them when the initial page is generated just in case the user wants to visit them as well.