> On 25 Jun 2015, at 17:14, Jean-Daniel Dupas <[email protected]> wrote: > > > You can pretty format it using xmllint command line tool. > > xmllint --pretty 1 yourfile.xml > your_formatted_file.xml >
I knocked up a utility to do it but thanks anyway. Once I could see where the problem was, I fixed the output from “sdef” quite easily and then ran this file through “sdp”, e.g. sdef xxxx.app > xxxx.txt // reformat and edit xxxx.txt and then: cat xxxx.txt | sdp -fh --basename AppXXXX When I included the generated header file in my project, here were a few duplicate definitions which I fixed and it compiled ok! That was a really good hack! Many Thanks to everyone that helped on this. All the Best Dave _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
