How can I have XSLT wrap input XML within a parent node, only if it doesn't already exist?
For example, if my input is:
<Project>...</Project>
I want to wrap it with a prefix and a suffix:
<?xml version "1.0" encoding="utf-8">
<Site>
<Project>...</Project>
</Site>
If however, <Project> is not the root node of the input, I'd like the input to be left unmodified.
Thanks in advance!