Pickling XML Using XSLT

Yet another possibility for processing your XML data is to compile it into the pickled format using XSLT:
<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0">
<strip-space elements="data entry"/>
<output method="text"/>
<template match="entry">
  <choose>
    <when test="married='true'">t</when>
    <otherwise>f</otherwise>
  </choose>
  <text>&quot;</text>
  <value-of select="age"/>
  <text>&quot;I&quot;</text>
  <value-of select="name"/>
  <text>&quot;E</text>
</template>
</stylesheet>