Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (48 sloc) 1.68 kb
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
<xsl:output method="xml"
indent="yes" omit-xml-declaration="no" encoding="utf-8"/>
<!-- default rule -->
<xsl:template match="*|processing-instruction()|comment()" mode="conv50to51">
<xsl:copy-of select="@*"/>
<xsl:apply-templates mode="conv50to51"/>
<!-- version update -->
<para xmlns="">
Changed attribute <tag class="attribute">schemaversion</tag>
to <tag class="attribute">schemaversion</tag> from
<literal>5.0</literal> to <literal>5.1</literal>.
<xsl:template match="image" mode="conv50to51">
<!-- nothing to do if already at 5.1 -->
<xsl:when test="@schemaversion > 5.0">
<xsl:copy-of select="/"/>
<!-- otherwise apply templates -->
<image schemaversion="5.1">
<xsl:copy-of select="@*[local-name() != 'schemaversion']"/>
<xsl:apply-templates mode="conv50to51"/>
<!-- remove baseroot attribute from type -->
<para xmlns="">
Remove obsolete baseroot attribute from types
<xsl:template match="type" mode="conv50to51">
<xsl:copy-of select="@*[not(local-name(.) = 'baseroot')]"/>
<xsl:apply-templates mode="conv50to51"/>
<!-- remove defaultbaseroot element from preferences -->
<para xmlns="">
Remove defaultbaseroot element from preferences
<xsl:template match="defaultbaseroot" mode="conv50to51"/>
Jump to Line
Something went wrong with that request. Please try again.