XML Streams and biztalk

triff
Member Posts: 23
Has any body been able to get steams and xml to work from navision solutions beta 3.0. Iseam to be able to create and write to the streams but always fail to save the xml file.
I think I am missing something and will have to play with VB to work out how to use XMLDomDoc over the weekend. But if any one has got it to work can they tell us how.
And now that XML is going to take over the world??? how do we use Biztalk and navision together.
pAUL bAXTER
I think I am missing something and will have to play with VB to work out how to use XMLDomDoc over the weekend. But if any one has got it to work can they tell us how.
And now that XML is going to take over the world??? how do we use Biztalk and navision together.
pAUL bAXTER
0
Comments
-
ok I now know I am missing a dtd file or document type definition file. It does help to read a bit about xml first. So can anybody help in geting the code examples for steams in the help file working. I think all I am missing is the dtd file??
The code is as follows:-
// Firstly, we define the record number we want to use.
recEmployee."No." := '5555';
// We now load the XML DOM, which will pass the OutStream to the external object.
XMLDom.load('SomeData.xml');
recEmployee.Picture.CREATEOUTSTREAM(StreamOutObj);
StreamOutObj.WRITE('Ver. 1.00');
// Write version.
StreamOutObj.WRITE('Company Ltd.');
// Write (c).
StreamOutObj.WRITE(TODAY);
// Write a DATE (today).
// The following information will be written as plain text.
StreamOutObj.WRITETEXT('Dear Customer,');
StreamOutObj.WRITETEXT();
// This inserts a carriage return and a new line.
StreamOutObj.WRITETEXT('We would like to thank you for your help.');
StreamOutObj.WRITETEXT();
StreamOutObj.WRITETEXT('We hope to see you soon!');
StreamOutObj.WRITETEXT();
XMLDom.save(StreamOutObj);
recEmployee.MODIFY();0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions