Geert,
If you are there, can you help me with one other problem? I've now got Virtual Documents working, pulling in ToC and Cover, using package tags (in fact, I've extended some classes for my client, specifically for these purposes). This is all working well for now.
My problem? Well, my Virtual Documents, using a Report Package for the top level, has a set of Model Documents. For each Model Document, I allocate a template and customise the output as required. All is well, if these are packages. However, when I have a package with a diagram in, I can't find a way to get the diagram to show.
If I use a template that is not associate to a Virtual Document, The diagram element option works and the diagram shows. However, when I use a fragment, I don't get to see it.
Further to this, I've tried using JScript. I've got scripts that return XML elements that will show happily if textual. I.E. The XMl returns Name value Pairs, in which the value is a string, I can show the custom field. However, I can't figure out and ask, is it possible to return the UML Diagram somehow? I can identify it from the package, but can't find a way to return it so that is placed into the template.
Thoughts would be appreciated? I appreciate that I'm getting rather technical now.
Kind regards
Carl