mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,3 Tsd.
aktive Profile

#xml

10 Beiträge10 Beteiligte2 Beiträge heute

Back in the 2000s, I wrote some XSLT to transform RPG character sheets from a semantic format to HTML.

Basically, stuff like:

<strength>20</strength>

to a rendered character sheet.

It was pretty neat because I had a clean separation of my data which I wanted represented one way into another data format, but xslt on the browser is a whole other matter. xslt on the browser is virtually unused, libxslt is not well maintained and being on the browser means it's subject to all kinds of inputs, including potentially malicious ones.

Google isn't wrong to remove xslt support from Chrome.

Today if I wanted to the same, even if I wanted to represent my data as XML (which I probably wouldn't), I'd just use a simpler HTML template language and then have a simpler parser in between.

It would be more lines of code, but be easier to understand.

This week, I received an interesting task: dusting off a legacy application. The application analyzes specific files in proprietary format. I know XML doesn’t sound sexy to junior developers, but it has an amazing benefit. One can validate a file against a grammar. Such grammar is called an , the acronym for XML Schema Definition. Fun fact: you write XSDs in XML.

In this post, I explain the problem, what I tried, and the final working solution.

blog.frankel.ch/xml-schema-val

A Java geek · XML Schema Validation 1.1 in Java
Mehr von Nicolas Fränkel

Anyone have a recommendation for a small (ideally single-file?) C++ Markdown parser library?

I have some Markdown files that I would love to export to various other formats, and don't want to reinvent the wheel if I don't have to. I don't need any support for HTML in Markdown.

Basically I'd love to feed Markdown into a function and be called back for each element (header, paragraph, link etc.), kinda like SAX does for XML?

#Cxx#cplusplus#cpp

people!

How do we communicate the idea that declarative markup is a good idea? Declarative markup is where you identify what is there, not what it does.

For an internal memo, for an insurance letter to a client, how much matters? Well, the insurance company has to be able to search the letters for specific information for 10, 20, 40, 100 years. What word processor did you use 40 years ago? Wordstar? Magic Wand? Ventura?

fromoldbooks.org/Various-HomeW

Those of you lucky enough to be going to will get to see this picture used in a talk i’m giving - who will maintain XML systems when we have all retired?

“oil is certainly not more necessary for machinery than for the comfortable and easy working of the complex and wonderful framework of our moral nature.”