Large XML File will not Format

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 12 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Large XML File will not Format

Post by davidc »

Another alternative is to preprocess the file by removing all CR/LF characters. You may encounter some text formatting issues with this method, if you have multiline text within tags.David
David
SAPIEN Technologies, Inc.
User avatar
sblaylock
Posts: 41
Last visit: Thu Jun 02, 2022 10:25 am

Large XML File will not Format

Post by sblaylock »

David/Alexander
Most of our XML contains technical details so there wouldn't be a problem with multiline text. If I drop it into Notepad and turn off word wrap I can see the cr/lfs and remove them. What's interesting is where they show in notepad they don't show in the raw log file I cut the xml from. Very odd.
Like I said before, we don't get too many with that amount of xml, so the auto format should rarely fail.
Thank you both for your feedback. I always appreciate the speed at which you respond to issues and requests.
Scott.
This topic is 12 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.