I'm creating an xml output file using an xsl transformation. I can get everything but the xml header line to process in the xslt. How can I get the line to be added to my output file? I need:
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
I have the rest of the message coming out as I need it.
Tags:
We disable the XML header in our transform step. This happens because the transformed XML is really a fragment that's part of the XML for our larger ESBMessage envelope.
You can add the header manually in a code step by prepending the header to context.Data.Text:
context.Data.Text = "<?xml ...?>\r\n" + context.Data.Text
Michael,
You're a wealth of knowledge and I appreciate your help. It worked perfectly!
Don
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by