I need to create an external file from an xml document that extracts the content of certain key elements in a listing that is then processed for another use. I have this working in my FOSI stylesheet after following some instructions in the PTC Help Center and it extracts the data I want to an xxxx.exp file in the same folder. So far, so good. But the .exp file always takes the name of the parent element that the coding is used in, e.g. name.exp.
My problem is that I have several xml documents in the same folder and all of them need to create this .exp file. Since the style sheet always gives the file the same name no matter which file it is, they overwrite each other unless the writer is quick to rename his exp file.
Is there a way to name the .exp file created specifically either using FOSI or some kind of ACL so that I can add a sequential number to the created file name or make them specific to each document instance in some way?