]> Lady’s Gitweb - Shushe/blobdiff - transforms/serialization.xslt
Provide metadata in transform; add attributes there
[Shushe] / transforms / serialization.xslt
index 09f595eae627ef285f648acbd0b6b887dae38183..2565fa6ea0bd38a0e2a9a057c7cf273545fdf2ce 100644 (file)
@@ -22,10 +22,10 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
 >
        <import href="../lib/serialize.xslt"/>
        <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:serialization.xslt</书社:id>
 >
        <import href="../lib/serialize.xslt"/>
        <书社:id>urn:fdc:ladys.computer:20231231:Shu1She4:serialization.xslt</书社:id>
-       <template match="书社:serialize-xml" mode="书社:application" priority="1">
+       <template match="书社:serialize-xml" mode="书社:apply" priority="1">
                <variable name="namespaces" select="namespace::*"/>
                <variable name="contents">
                <variable name="namespaces" select="namespace::*"/>
                <variable name="contents">
-                       <apply-templates mode="书社:application"/>
+                       <apply-templates mode="书社:apply"/>
                </variable>
                <variable name="passthru-namespaces" select="exslstr:tokenize(string(@with-namespaces))"/>
                <apply-templates select="exsl:node-set($contents)" mode="书社:serialize">
                </variable>
                <variable name="passthru-namespaces" select="exslstr:tokenize(string(@with-namespaces))"/>
                <apply-templates select="exsl:node-set($contents)" mode="书社:serialize">
@@ -64,4 +64,7 @@ If a copy of the M·P·L was not distributed with this file, You can obtain one
                        </with-param>
                </apply-templates>
        </template>
                        </with-param>
                </apply-templates>
        </template>
+       <template match="书社:raw-output" mode="书社:serialize" priority="1">
+               <copy-of select=".//text()"/>
+       </template>
 </transform>
 </transform>
This page took 0.02237 seconds and 4 git commands to generate.