From: Bob Stayton Date: Wed, 25 Oct 2006 06:53:54 +0000 (+0000) Subject: Fixed add-xml-base for Windows and Xalan case. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57a4af6f3142311316d4286d30e6cb09ff3a70c7;p=docbook-dsssl Fixed add-xml-base for Windows and Xalan case. --- diff --git a/xsl/common/stripns.xsl b/xsl/common/stripns.xsl index ef30cc4a0..18d18441a 100644 --- a/xsl/common/stripns.xsl +++ b/xsl/common/stripns.xsl @@ -1,7 +1,7 @@ - - - - - + and not(name(.) = 'version')]"/> + + + + + - + @@ -41,14 +41,14 @@ - - - - - + and not(name(.) = 'version')]"/> + + + + + - + @@ -61,24 +61,24 @@ - - - - - + and not(name(.) = 'version')]"/> + + + + + - - - - - + and not(name(.) = 'version')]"/> + + + + + @@ -89,42 +89,42 @@ - - info + |parent::db:appendix + |parent::db:bibliography + |parent::db:book + |parent::db:chapter + |parent::db:glossary + |parent::db:index + |parent::db:part + |parent::db:preface + |parent::db:refentry + |parent::db:reference + |parent::db:refsect1 + |parent::db:refsect2 + |parent::db:refsect3 + |parent::db:refsection + |parent::db:refsynopsisdiv + |parent::db:sect1 + |parent::db:sect2 + |parent::db:sect3 + |parent::db:sect4 + |parent::db:sect5 + |parent::db:section + |parent::db:setindex + |parent::db:set + |parent::db:slides + |parent::db:sidebar"> + + info - objectinfo + |parent::db:imageobject + |parent::db:inlinemediaobject + |parent::db:mediaobject + |parent::db:mediaobjectco + |parent::db:textobject + |parent::db:videoobject"> + objectinfo blockinfo @@ -132,30 +132,30 @@ + and not(name(.) = 'version')]"/> - + + and ($info = 'prefaceinfo' + or $info = 'chapterinfo' + or $info = 'sectioninfo' + or $info = 'sect1info' + or $info = 'sect2info' + or $info = 'sect3info' + or $info = 'sect4info' + or $info = 'sect5info' + or $info = 'refsectioninfo' + or $info = 'refsect1info' + or $info = 'refsect2info' + or $info = 'refsect3info' + or $info = 'blockinfo' + or $info = 'appendixinfo')"> @@ -163,52 +163,52 @@ + name="href" select="@xlink:href|@href"/> - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + + @@ -217,30 +217,30 @@ + and not(name(.) = 'version')]"/> + |ng:imagedata|db:imagedata + |ng:videodata|db:videodata + |ng:audiodata|db:audiodata" mode="stripNS"> + and not(name(.) = 'version') + and not(name(.) = 'entityref')]"/> - + - - - + + + @@ -273,28 +273,33 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -308,7 +313,7 @@ / + select="substring-after($systemId,'/')"/>