sueden.social ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Eine Community für alle, die sich dem Süden hingezogen fühlen. Wir können alles außer Hochdeutsch.

Serverstatistik:

2 Tsd.
aktive Profile

#XML

3 Beiträge3 Beteiligte0 Beiträge heute
Antwortete im Thread

@itsthejoker Seriously, back in the late 1990s when I was an SGML/XML consultant, I told my then employer that I wasn't willing to work on documentation for weapons systems, and they respected that (even though those military contracts made up a huge portion of the available work at the time).

Fortunately, I got to work on a doc system for McDonnell-Douglas (later, Boeing) civilian airliners instead, and the consulting company did very well out of that, so win-win.

Sonderzeichen, #ZUGFeRD #LaTeX und #XML, aaargh! Warum haben ausgerechnet Firmennamen ein typisches Sonderzeichen, das in sed, LaTeX und XML jeweils escaped werden muss, und zwar unterschiedlich?

sed …
-e "s/FIRMA/${FIRMA/&/\\\\\\&}/g"
-e "s/XMLFIRMXML/${FIRMA/&/\\&}/g"

Der obere SED-Befehl ist für die Text-Anschrift im LaTeX, das untere für das XML. Der \\ ist NUR für das Escapen des & im SED.

Jetzt muss ich noch rausbekommen, wie ich die Expansion von ß in "\T1\ss " bei der Ausgabe von XML vermeide, dann ist es für Deutschland einsatzbereit (die anderen Umlaute gehen. Blöd, dass fast jede nicht abgekürzte Adresse in Deutschland ein ß enthält).

Fortgeführter Thread

Und dann sind da ja noch unsere Angebote für Studierende aller Fächer - Kurse zu #Python, #XML und #NLP, von Studierenden organisierte Guest Lectures zu Forschenden hinter den Stereotypen, #Informationskompetenz und #Dataliteracy, eine Vorlesung zur #Wissenschaftsreflexion... Anmelden geht auch in der nächsten Woche noch!
👉 stg.uni-mainz.de/

stg.uni-mainz.deStudium generale

I have been doing #XML stuff this week, specifically #TEI. I know a lot of people don't really like #XSLT, but it reminded me that when you're working with something that's not just structured data but a stream of text where some or all of the markup is part of the flow then that hybrid imperative/declarative model works really well for representing the full range of transformations you might want to make.

Would be interested to know if there are good modern alternatives.

📢 Releasing tei-rdfa (beta)

▶️ Python utility for extracting RDFa data from TEI-XML documents
▶️ Resolves native TEI namespace formatting (through <prefixDef>)

🌐 pypi.org/project/tei-rdfa/
🌐 github.com/timofruehwirth/tei_

We welcome beta testing, feedback & contribution via #GitHub.
Boosts will be very much appreciated.

@ACDHCH_OeAW @oeaw @fwf @TEIConsortium @w3c @hcayless

PyPItei-rdfaA Python utility for extracting RDFa data from TEI-XML documents.
#TEI#XML#RDFa
Fortgeführter Thread

I hadn't heard of it before, but it turns out there's a style format called XSLT that allows the browser to translate an XML file into HTML with CSS styling for display purposes.

Since my feed is Atom rather than RSS, I had a bit of trouble, but this post was helpful:

andrewstiefel.com/style-atom-x

Andrew StiefelHow to Style an Atom Feed with XSLTCreate a seamless user experience for your Atom or RSS feed with XLST stylesheets.
#RSS#Atom#XML

I figured out how to get my RSS feed to be human-readable and nice-looking!

I'd been wanting to do this to give people who aren't familiar with RSS an easier on-ramp to the stuff I care about.

I figure if someone new to RSS clicks on the link and just gets raw XML, they might think something is “broken” and not stick around, but now there's something human-readable and with instructions on how to follow it in a reader.

reillyspitzfaden.com/feed.xml

#RSS#Atom#XML