Jez Higgins

Freelance software generalist
software created
extended or repaired


Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About

Tuesday 15 July 2003 Arabica

Doing some client work slinging XML and XSLT in Python, using 4Suite. 4Suite is a really comprehensive package covering SAX, DOM, XSLT, XPath, a whole pile of RDF stuff I've not looked at and XInclude. I've previously used XInclude as part of the rather convoluted build process for the Versim website. 4Suite goes further than anything else I've seen, by having XInclude support within the XSLT processor. How cool is that? It means you can do things like
    <xsl:template match="/">
      <html>
        <head>
          <xi:include href="../htmlfragments/prolog.xhtml"/>
        </head>
        <body>
          <xi:include href="../htmlfragmenst/page_header.xhtml"/>

          <xsl:apply-templates />

          <xi:include href="../htmlfragmenst/page_footer.xhtml"/>
        </body>
      </html>
    </xsl:template>
It's fantastic - I'm already wondering how I'm going to manage without it.
Tagged code, arabica, xml, and c++


Jez Higgins

Freelance software generalist
software created
extended or repaired

Older posts are available in the archive or through tags.

Feed

Follow me on Twitter
My code on GitHub

Contact
About