infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
embed line breaks in xml
System
Originally posted by Greg Eriksen
I'm having trouble getting a line break indicator(s) to show up in my xml output.
Find more posts tagged with
Clovertech
Comments
System
Originally posted by **** Bly
try using the line break sequence
System
Originally posted by Greg Eriksen
Thanks very much for the suggestion. I tried to manually edit a
into a test xml file, and when I tried to display it using Internet Explorer it gave an error saying that 'the character "<" can't be used in an attribute value.' I didn't explain in my first post that the schema for the xml file has all data contained in attributes. Maybe the
would be allowed in element data.
However, the developer for the receiving system uses the xml files to populate a SQL database, so he thought the
wouldn't work because it was html specific.
I ended up inserting a value of "*crlf*" as I appended each NTE.3 value to the output attribute field. Then I wrote a tcl proc containing a regsub to replace the constant with the desired html line break escape sequences, and put it after translation in the Outbound Data tps.
The user came back and said that he found out what he really needed was (spaces inserted so it will display in this forum post) " & # x d ; & # x a ; " rather than " & # 1 3 ; & # 1 0 ; ". I've made the change and am waiting to find out what, if anything, worked.