The project will query SQL data from a few sources, then use an XML and/or
XSLT to build an output XML file.
The project's code will not know how to build the output file, instead it will
rely on an XML/XSLT control file to tell it what to do.
My dilemma lies in that I'm not sure if I should have the control file be an
XML file such as...
...this pseudo example....
...etc for each simple or complex element
The project will then build the XML based on the above and any changes to the
control file will (if all is well) result in a different result XML file.
I suppose that my question is if this is a good direction or if XSLT can do it
all, map data into the XML output and not rely on my c# .Net code to know how
to form or map the data into the result XML.
I'm afraid there's really not enough detail here to advise you. Also it's not
really a Saxon-specific question - it would be better asked on a general XSLT
forum such as the xsl-list at mulberrytech,com. It sounds like a perfectly
reasonable avenue to pursue.