I'm using Indesign to import StatCrew XML files and create post-game graphics. I should probably give more detail. StatCrew generates a different xml file. Below is the full file:
https://drive.google.com/file/d/11sGFbXlkTlEwmzBVE-yMZVBbYYPLEwLK/view?usp=sharing
Here is my current XSLT file:
https://drive.google.com/file/d/1NJ6ltaz-sxufFBV7QCsjFn7l36HxKeHJ/view?usp=sharing
Using the XSLT above, I can find the player that scored the most points and have indesign select a photo from a directory that is the same name as the @uni number. In this example, Indesign would display the .psd file named 05.psd.
Exported from Indesign as a JPG. I get this:
https://i.stack.imgur.com/j27cS.jpg
What I would like to do, however, is have Indesign select a .psd file at random from a FOLDER named 05. Is that possible? I'm learning all of this from information on the internet and have no real background in XML..