diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 10:56:22 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 10:56:22 +0000 |
commit | 8b4e0509009e5796fba2bbe7d895ca66c9529f4a (patch) | |
tree | 527639d35f0b22bae8b03848ea8a847a354da033 /filter/source/docbook | |
parent | 41f05ed59068b3b7862265b6d2237d2bda586b8a (diff) |
INTEGRATION: CWS xsltfilter10 (1.10.42); FILE MERGED
2008/07/09 19:10:56 sus 1.10.42.2: #i91376# Updates due to XSLT processor adaption from Xalan to Saxon
2008/07/09 19:09:35 sus 1.10.42.1: #i91376# Updates due to XSLT processor adaption from Xalan to Saxon
Diffstat (limited to 'filter/source/docbook')
-rw-r--r-- | filter/source/docbook/sofftodocbookheadings.xsl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/filter/source/docbook/sofftodocbookheadings.xsl b/filter/source/docbook/sofftodocbookheadings.xsl index 93dead3d2380..b91a7d3e3011 100644 --- a/filter/source/docbook/sofftodocbookheadings.xsl +++ b/filter/source/docbook/sofftodocbookheadings.xsl @@ -9,7 +9,7 @@ $RCSfile: sofftodocbookheadings.xsl,v $ - $Revision: 1.10 $ + $Revision: 1.11 $ This file is part of OpenOffice.org. @@ -30,8 +30,7 @@ --> <xsl:stylesheet version="1.0" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:office="http://openoffice.org/2000/office" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script" xmlns:config="http://openoffice.org/2001/config" office:class="text" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="office meta table number dc fo xlink chart math script xsl draw svg dr3d form config text style"> - <xsl:output method="xml" indent="yes" omit-xml-declaration="no"/> - <xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//OASIS//DTD DocBook XML V4.1.2//EN" doctype-system="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"/> + <xsl:output method="xml" indent="yes" omit-xml-declaration="no" version="1.0" encoding="UTF-8" doctype-public="-//OASIS//DTD DocBook XML V4.1.2//EN" doctype-system="http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"/> <!-- Heading will be mapped to sections. @@ -130,10 +129,10 @@ <!-- START --> - <xsl:template match="/office:document"> + <xsl:template match="/*"> <xsl:element name="article"> <xsl:attribute name="lang"> - <xsl:value-of select="/office:document/office:meta/dc:language"/> + <xsl:value-of select="/*/office:meta/dc:language"/> </xsl:attribute> <!-- page style header --> <xsl:call-template name="page-style"> |