Gotta say working with #openxml (#ooxml) is scary. The Open XML Sdk is so low level with no guard rails. Must understand all of the underlying XML to be able to do anything meaningful, so what’s the point? And all the libraries I’ve looked at doesn’t support what I want to do.
At this point, I’m taking a swing at processing the XML by hand with #beautifulsoup4. Seems to do the trick 😅
#openxml #OOXML #beautifulsoup4
💡Passionnant article traduit par @nicolasvivant, intitulé "Comment tuer un réseau décentralisé (tel que le Fediverse)" :
https://grenoble.ninja/comment-tuer-un-reseau-decentralise-tel-que-le-fediverse
#GAFAM #Fediverse #XMPP #OpenXML #microsoft #google #opensource
#gafam #fediverse #xmpp #openxml #microsoft #google #opensource
Je n'avais pas eu l'occasion de mettre le nez dans les fichiers XML des formats de bureautique #Microsoft (appelés #OpenXML). Et bien c'est de la grosse merde.
À côté, #OpenDocument (format de #LibreOffice) est beaucoup plus simple et clair à utiliser.
Par exemple dans un #XLSX le texte n'est pas dans le XML de la feuille, mais dans un autre XML qui réunit uniquement les chaînes de caractère.
Et les styles c'est aussi n'importe quoi. Bref le libre c'est mieux.
#microsoft #openxml #opendocument #libreoffice #xlsx
Why is working with Office documents in code such a pain?
I though OpenXML SDK would be a treat. Streamline working with Word, Excel, and PowerPoint. Shared API, type-safe, etc.
Sure, it is all that, but there is little to no abstraction. It is all a wrapper around XML. You still need to understand the complete document model. No shortcuts.
In short, a resounding 0 points for developer experience.
Are there other OSS C# libs with higher level of abstraction?