openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

adding pugi parsing Options to ofXml (OF enum version)

Open dasoe opened this issue 5 years ago • 1 comments

Hi all,

this is a re-opened pull request after change requests from your side. pugi offers parsing options like "pugi::parse_default | pugi::parse_comments" in case one wants comments not to be stripped etc. Added a variable, a setter and (as requested) OF-like enum decleration to be able to use them in ofXml.

Would be used like this: XML.setParsingOptions( OF_PARSE_DEFAULT | OF_PARSE_COMMENTS ); XML.load(pathToXML);

Hope I got this enum-thing done appropriately?

Thanks for your awesome work! oe

dasoe avatar Mar 23 '20 14:03 dasoe

Hi all,

I think this pull request is good (I add it manually to each OF download), change request from your side is impelmented also. Is there something I can do to further support it?

have a good day! oe

dasoe avatar Apr 07 '22 09:04 dasoe