# Convert binary projects to XML

**URL:** <https://ifnotnil.com/t/convert-binary-projects-to-xml/3037>\
**Category:** Code Sharing\
**Created:** [25 January 2023 17:32 UTC](https://ifnotnil.com/t/convert-binary-projects-to-xml/3037 "2023-01-25T17:32:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [25 January 2023 17:32 UTC](https://ifnotnil.com/t/convert-binary-projects-to-xml/3037/1 "2023-01-25T17:32:25Z")

</div>

Like @tempelorg I also have a ton of projects in various states

This one converts binary projects to XML

> **[GitHub - npalardy/ConvertBinaryToXML: A Xojo project to convert binary...](https://github.com/npalardy/ConvertBinaryToXML)**
>
> A Xojo project to convert binary projects to XML. Contribute to npalardy/ConvertBinaryToXML development by creating an account on GitHub.

Its a command line tool so can/could be used as a helper for another process that reads XML projects

---

<div class="post-metadata">

**Author:** ![tempelorg](https://ifnotnil.com/user_avatar/ifnotnil.com/tempelorg/32/2660_2.png) [@tempelorg](https://ifnotnil.com/u/tempelorg)\
**Post date:** [25 January 2023 18:17 UTC](https://ifnotnil.com/t/convert-binary-projects-to-xml/3037/2 "2023-01-25T18:17:32Z")

</div>

How do you handle the mapping from the 4-char codes to the proper XML names? Since Xojo always adds new codes, in [Arbed](https://www.tempel.org/Arbed/) I eventually used a user-editable text file with the mappings. I guess your cmdline tool has them hard-coded and needs to be updated occasionally?

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [25 January 2023 18:52 UTC](https://ifnotnil.com/t/convert-binary-projects-to-xml/3037/3 "2023-01-25T18:52:11Z")

</div>

Indeed  
The list is basically “fixed” unless they add new ones  
And since its all source code thats easy enough to update

The only time this would be tricky is if they repurpose one from API 1 to API 2 and then I’d have to create a “converter” class for each API that makes it possible to switch back and forth

Still not rocket science though

---

<div class="post-metadata">

**Author:** ![dalu](https://ifnotnil.com/user_avatar/ifnotnil.com/dalu/32/1776_2.png) [@dalu](https://ifnotnil.com/u/dalu)\
**Post date:** [26 January 2023 05:08 UTC](https://ifnotnil.com/t/convert-binary-projects-to-xml/3037/4 "2023-01-26T05:08:47Z")

</div>

> [@tempelorg](#):
>
> in [Arbed](https://www.tempel.org/Arbed/)

sorry the download link is broken, the betas links work ok

---

<div class="post-metadata">

**Author:** ![tempelorg](https://ifnotnil.com/user_avatar/ifnotnil.com/tempelorg/32/2660_2.png) [@tempelorg](https://ifnotnil.com/u/tempelorg)\
**Post date:** [26 January 2023 10:32 UTC](https://ifnotnil.com/t/convert-binary-projects-to-xml/3037/5 "2023-01-26T10:32:50Z")

</div>

Thank you. I’ve fixed this by changing the http: links to https:  
The same problem likely exists on all my other pages on that site. Sigh.
