XMLport (import) lost CRLF in Bigtext variable
lex03
Member Posts: 3
Hi,
I have a problem with an XMLport.
In the XMLport there is a Bigtext element called ‘remark’.
In the xml file, that tag is a text with many CRLF.
In the XMLport I cut this Bigtext to pieces from maximal 80 positions, with a word-wrap.
This works fine, the only thing is that I lost my CRLF when I read the Bigtext variable.
So I get all the text but not in the normal format.
Does somebody know why this is happening and is there a solution for it.
(I know I can program this in a codeunit with the XMLparser instead of using a XMLport but I like to use an XMLport).
Btw: I use it for conversion: Excel => xmlfile => XMLport (import) => Comment Line.
Lex.
I have a problem with an XMLport.
In the XMLport there is a Bigtext element called ‘remark’.
In the xml file, that tag is a text with many CRLF.
In the XMLport I cut this Bigtext to pieces from maximal 80 positions, with a word-wrap.
This works fine, the only thing is that I lost my CRLF when I read the Bigtext variable.
So I get all the text but not in the normal format.
Does somebody know why this is happening and is there a solution for it.
(I know I can program this in a codeunit with the XMLparser instead of using a XMLport but I like to use an XMLport).
Btw: I use it for conversion: Excel => xmlfile => XMLport (import) => Comment Line.
Lex.
0
Comments
-
are you sure you dont lose the CRLF in the process of doing this step:In the XMLport I cut this Bigtext to pieces from maximal 80 positions, with a word-wrap.0
-
No, as I debug, the CRLF are already gone by reading de Bigtext variable.
Maybe here is something wrong, but if I write the Bigtext to a textfile instead of reading the Bigtext, they are also gone.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions