XML output/report

When I generate via report output an XML I get this message on top of a list:

“This XML file does not appear to have any style information associated with it. The document tree is shown below”

Anybody an idea how to influence the XML-output in a format I need. Perhaps a small example and where to put

Thanks, Bert

The message appears because you are opening it in IE. As it is raw xml you need to have a valid xml viewer bound to the xml viewer like pdf is bound to a pdf viewer. If you want to present an xml file in IE then it expect it to have xslt information.

My xml is bound to an xml-viewer/editor.

But I want to realize an output like this:

<?xml version=‘1.0’ encoding=‘UTF-8’?>
<ArchiveBatch xmlns:xsi=‘http://www.w3.org/2001/XMLSchema-instance’>
<Header>
<Source/>
<Version/>
<BatchSequenceNumber>1</BatchSequenceNumber>
<CreateTime>27-9-2012 12:30:19</CreateTime>
</Header>
<Content>
<Aanslagnummer>12345678</Aanslagnummer>
<DocumentType>041</DocumentType>
<BestandsNaam>20120926-0012924.pdf</BestandsNaam>
<AantalPaginas>3</AantalPaginas>
</Content>
</ArchiveBatch>

I have to put some style information somewhere.
So when I construct a xslt and put it in the map C:\Program Files\NetMake\v7\wwwroot\scriptcase\prod hird\ezxml
would that help? Of course the tags and fields should have the same name.

Bert

I solved it with a small php-script under a button

<?php
$documenttype = “<Documenttype>{documenttype}</Documenttype>”;
$handle = fopen(“c:/test/test.xml”,“w-”);
fwrite($handle,$documenttype);
fclose ($handle);
?>

it writes a test.xml in map c:/test with the content of $documenttype
Ok I have to add a xml-header etc
But it works fine
Now the other lines …

Bert