Creat a XML file from a PAGE

davguimdavguim Member Posts: 2
edited 2011-04-12 in NAV Three Tier
Hi,

I hope someone can help me,
Im having some problems creating a xml file from a page. i use in the same xmlport in a form, the only difference in the code is the queryReplace command.


OutputFile.TEXTMODE(TRUE);
OutputFile.WRITEMODE(TRUE);
IF NOT ISSERVICETIER THEN OutputFile.QUERYREPLACE(TRUE);
OutputFile.CREATE(varFicheiroAnexoGRV);
OutputFile.CREATEOUTSTREAM(OutputStream);
XMLPORT.EXPORT(XMLPORT::XMLgrv,OutputStream,tabCabecalho);
.....
Must say it goes ok when running from the form.
The error is "Can´t process the first node in the xml port ".

Best regards,
Davguim
Sign In or Register to comment.