XML Pretty Print and Flat
Is there any way of converting between these two string representations? I can't find anything.
I've tried converting a print print XML string to a list of strings and then using the converter Merge List to String, but for some weird reason this identifies the tags and strips them out, leaving only the values. Very strange behaviour.
I have been trying to make unit tests that compare a generated XML with a constant. However the generated is in pretty print format, and the constant, when copied into the string section, becomes a flat string. Then a string comparison doesn't work.
I've tried converting to dynamic objects to compare, however the comparison steps availalbe seem to be broken.
If there is some other nice way to compare XML's I'd accept that. It seems a bit excesive to build loops to run through all tags and value to compare individually.
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions