Added automatic generation of an XSA description, Daniel
diff --git a/doc/xsa.xsl b/doc/xsa.xsl
new file mode 100644
index 0000000..a82846d
--- /dev/null
+++ b/doc/xsa.xsl
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--
+  Stylesheet generating the XSA entry for libxml2 based on the 
+  latest News entry.
+  See http://www.garshol.priv.no/download/xsa/ for a description of XSA
+ -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+  <xsl:output method="xml"
+      doctype-public="-//LM Garshol//DTD XML Software Autoupdate 1.0//EN//XML"
+      doctype-system="http://www.garshol.priv.no/download/xsa/xsa.dtd"
+      indent="yes"/>
+
+  <xsl:template match="/">
+<xsa>
+  <vendor>
+    <name>Daniel Veillard</name>
+    <email>daniel@veillard.com</email>
+    <url>http://veillard.com/</url>
+  </vendor>
+  <product id="libxml2">
+    <name>libxml2</name>
+    <version><xsl:value-of select="substring-before(//h3[2], ':')"/></version>
+    <last-release><xsl:value-of select="substring-after(//h3[2], ':')"/></last-release>
+    <info-url>http://xmlsoft.org/</info-url>
+    <changes>
+    <xsl:apply-templates select="//h3[2]/following-sibling::*[1]"/>
+    </changes>
+  </product>
+</xsa>
+  </xsl:template>
+  <xsl:template match="h3">
+  </xsl:template>
+  <xsl:template match="ul">
+    <xsl:apply-templates select=".//li"/>
+    <xsl:text>
+</xsl:text>
+  </xsl:template>
+  <xsl:template match="li">
+    <xsl:text>   - </xsl:text>
+    <xsl:value-of select="."/>
+    <xsl:text>
+</xsl:text>
+  </xsl:template>
+  <xsl:template match="a">
+    <xsl:value-of select="."/>
+    <xsl:text> at 
+</xsl:text>
+    <xsl:value-of select="@href"/>
+    <xsl:text>
+</xsl:text>
+  </xsl:template>
+</xsl:stylesheet>
+