> It is a problem because I am trying to reorder and
> restructure parts of
> the xml before it is input into another system that requires
> references to be in the form not the actual
> characters. Is there
> any way to do this?
XSLT is designed to output well-formed XML. If the other system rejects
well-formed XML, and you can't change it to be XML-compliant, then you're
going to have to put some custom code in between the XSLT transformation and
the other system.