I recently missed the 10th birthday of XML

The birthday on February 10th was celebrated with a blog post about the XML People. I’d like to add that XML is something like an eccentric coworker who manages to get entangled in everyone else’s work, either by invitation, pushed from above, or sneaked in by someone who knows him or her.

RESTafari

Reading Interoperability Wars – Episode 6 – Part 1 – Revenge of Babble just made me want to create a blog post with this title.

Is required in or not?

In an XSLT script I didn’t use <xsl:text> inside of <xsl:message>. It worked fine in xsltproc, but the Java XSLT implementation we use complained. What was wrong then? The text in an <xsl:message> was not inside an <xsl:text> element. Bad code: <xsl:message>Don’t do like this</xsl:message> Good code: <xsl:message><xsl:text>Do like this</xsl:text></xsl:message> To avoid making the same… Continue reading Is required in or not?

XSLT hacker

So far, this week has been a week of XSLT hacking. My favorite is probably the XSLT script that generates another XSLT script! 🙂 At one point I wanted to copy the default namespace (xmlns=…) from the source document to the destination document. I did like this to retrieve the URI for the default namespace.… Continue reading XSLT hacker

A generic XML visualization with Graphviz?

Why can’t I find an XSLT file that that converts any XML file to a Graphviz DOT file that visualizes elements and attributes? It’s almost like I’m beginning to doubt my Google “skillz”! I’ve found some scripts that are specially targeted to various XML-based formats, but no generic one. Maybe it’s so simple that I… Continue reading A generic XML visualization with Graphviz?

Apache Ant is regrettably (?) using XML

I’ve done some Apache Ant build file hacking today and that made me recall that the original author of Ant, James Duncan Davidson, actually regretted using XML as the file format. Mysteriously missing from today’s world wide web, but fortunately captured by the Wayback Machine, the blog entry Ant and XML is worth reading. The… Continue reading Apache Ant is regrettably (?) using XML