]> Lady’s Gitweb - Shushe/blobdiff - lib/archive2extractor.xslt
Fix base64 output
[Shushe] / lib / archive2extractor.xslt
index b5fb70322239a63d16bb989c839723afe9493f7f..8ff59e7a81a491830f70afcbe64640dd17d11e76 100644 (file)
@@ -13,19 +13,16 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 -->
 <transform
        xmlns="http://www.w3.org/1999/XSL/Transform"
 -->
 <transform
        xmlns="http://www.w3.org/1999/XSL/Transform"
+       xmlns:exsl="http://exslt.org/common"
        xmlns:xslt="http://www.w3.org/1999/XSL/TransformAlias"
        xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
        version="1.0"
 >
        <namespace-alias stylesheet-prefix="xslt" result-prefix="#default"/>
        <template match="/">
        xmlns:xslt="http://www.w3.org/1999/XSL/TransformAlias"
        xmlns:书社="urn:fdc:ladys.computer:20231231:Shu1She4"
        version="1.0"
 >
        <namespace-alias stylesheet-prefix="xslt" result-prefix="#default"/>
        <template match="/">
-               <xslt:transform
-                       xmlns:exsl="http://exslt.org/common"
-                       extension-element-prefixes="exsl"
-                       version="1.0"
-               >
+               <xslt:transform extension-element-prefixes="exsl" version="1.0">
                        <xslt:template match="/">
                        <xslt:template match="/">
-                               <for-each select="书社:archive/*[@书社:archived-as and not(starts-with(@书社:archived-as, '../') or contains(@书社:archived-as, '/../'))]">
+                               <for-each select="书社:archive/*[@书社:archived-as and not(starts-with(@书社:archived-as, '../') or starts-with(@书社:archived-as, '/') or contains(@书社:archived-as, '/../'))]">
                                        <variable name="href">
                                                <text>./extracted/</text>
                                                <choose>
                                        <variable name="href">
                                                <text>./extracted/</text>
                                                <choose>
This page took 0.019668 seconds and 4 git commands to generate.