You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to pugixml and so far I like the ease of using it. But I'm now confronted with one issue. I have xml files that have loads of newlines in them coded as & #10;. This all loads fine with pugixml but when printing/saving the xml file it changes these to actual newline characters '\n'. This really messes up looking at the xml file in an editor as these pieces of content no longer stay on one line.
Is there anyway to tell the module to render newlines (or other similar characters) as & #10; while printing? I've been searching and can't find anything. Any help is welcome.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm new to pugixml and so far I like the ease of using it. But I'm now confronted with one issue. I have xml files that have loads of newlines in them coded as & #10;. This all loads fine with pugixml but when printing/saving the xml file it changes these to actual newline characters '\n'. This really messes up looking at the xml file in an editor as these pieces of content no longer stay on one line.
Is there anyway to tell the module to render newlines (or other similar characters) as & #10; while printing? I've been searching and can't find anything. Any help is welcome.
Beta Was this translation helpful? Give feedback.
All reactions