- Timestamp:
- 12/01/14 10:29:12 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-manage-system/manage/dump.acc
r5845 r5870 93 93 { 94 94 for $id in $dcs//row/id return 95 for $ext in ('.dcif','.rdf' ,'/context.html','/context.xml','/history.xml','/history.html','/history.atom') return95 for $ext in ('.dcif','.rdf') return 96 96 <instr> 97 97 <type>copy</type> … … 102 102 { 103 103 for $id in $dcs//row/id return 104 for $ext in ('context.html','context.xml','history.xml','history.html') return 105 <instr> 106 <type>copy</type> 107 <operand>ffcpl:/isocat/rest/dc/{string($id)}/{$ext}+method@data:text/plain,GET</operand> 108 <target>file://{string($dir)}/rest/dc/{string($id)}-{$ext}</target> 109 </instr> 110 } 111 { 112 for $id in $dcs//row/id return 104 113 <instr> 105 114 <type>xslt2</type> … … 108 117 <xsl:stylesheet 109 118 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 110 version="2.0" 111 xpath-default-namespace="http://www.w3.org/1999/xhtml" 112 xmlns="http://www.w3.org/1999/xhtml"> 119 version="2.0"> 113 120 <xsl:output method="xml" encoding="utf-8"/> 114 121 … … 124 131 <xsl:when test="matches(.,'.^*/interface/.*$')"> 125 132 <xsl:value-of select="replace(.,'^.*(/interface/.*)$','$1')"/> 133 </xsl:when> 134 <xsl:when test="matches(.,'.^*/history$')"> 135 <xsl:value-of select="replace(.,'/history','-history')"/> 136 </xsl:when> 137 <xsl:when test="matches(.,'.^*/context')"> 138 <xsl:value-of select="replace(.,'/context','-context')"/> 126 139 </xsl:when> 127 140 <xsl:otherwise> … … 144 157 </xsl:attribute> 145 158 </xsl:template> 146 147 <xsl:template match="tr[td='View']"/>148 159 149 160 <xsl:template match="a[@target='forum']" priority="1"> … … 502 513 <instr> 503 514 <type>copy</type> 504 <operand>ffcpl:/rest/user/guest/workspace{$ext} </operand>515 <operand>ffcpl:/rest/user/guest/workspace{$ext}+method@data:text/plain,GET</operand> 505 516 <target>file://{string($dir)}/rest/user/guest/workspace{$ext}</target> 506 517 </instr>
Note: See TracChangeset
for help on using the changeset viewer.