P
Phil Knight
When saving XML from an Infopath 2007 form it appears that the XML
declaration and root element are output on the same line. For example, if the
XML file that is opened begins with:
<?xml version="1.0" encoding="utf-8"?>
<Root>
when the form data is saved, the saved file contains:
<?xml version="1.0" encoding="utf-8"?><Root>
I realise that this shouldn't make any difference as far as XML is
concerned, but we are working with a third party application that objects to
the root element appearing on the same line as the XML declaration.
Is there any way we can get InfoPath to insert a new line between the XML
declaration and the document element? And if so, can anyone point me in the
right direction on how to best achieve this?
Would be very grateful for any help.
Regards,
Phil
declaration and root element are output on the same line. For example, if the
XML file that is opened begins with:
<?xml version="1.0" encoding="utf-8"?>
<Root>
when the form data is saved, the saved file contains:
<?xml version="1.0" encoding="utf-8"?><Root>
I realise that this shouldn't make any difference as far as XML is
concerned, but we are working with a third party application that objects to
the root element appearing on the same line as the XML declaration.
Is there any way we can get InfoPath to insert a new line between the XML
declaration and the document element? And if so, can anyone point me in the
right direction on how to best achieve this?
Would be very grateful for any help.
Regards,
Phil