Changeset 2906
- Timestamp:
- 05/21/13 07:21:29 (11 years ago)
- Location:
- cats/ISOcat/trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-access-data/dbx/DC-history.xml
r2029 r2906 1 <dbx:transform xmlns:dbx="http://www.windhouwer.nl/sloot/dbx" >1 <dbx:transform xmlns:dbx="http://www.windhouwer.nl/sloot/dbx" xmlns:isocat="http://www.isocat.org/"> 2 2 3 3 <dbx:param name="dc"/> … … 21 21 <dbx:attribute name="version" field="version"/> 22 22 <dbx:attribute name="name" field="name"/> 23 <dbx:attribute name="pid" field="pid"/> 23 24 </dc> 24 25 <dbx:for-each table="view_text" min="1" max="*"> … … 28 29 <dbx:sort field="timestamp" order="descending"/> 29 30 <change> 31 <dbx:attribute name="isocat:id" field="id"/> 30 32 <dbx:attribute name="timestamp" field="timestamp"/> 31 33 <dbx:for-each table="view_user" min="1" max="1" when="normalize-space($current/user)!=''"> -
cats/ISOcat/trunk/mod-ISOcat-interface-rest/etc/XRLLinks.xml
r2322 r2906 327 327 </link> 328 328 <link> 329 <ext>/dc/history.atom</ext> 330 <int>active:sloot.accessor+operand@ffcpl:/interface/history.acc+representation@data:text/plain,atom</int> 331 <args>method,credentials,dc,Accept</args> 332 </link> 333 <link> 329 334 <ext>/dc/scope</ext> 330 335 <int>active:sloot.accessor+operand@ffcpl:/interface/dc-scope.acc</int> -
cats/ISOcat/trunk/mod-ISOcat-interface-rest/interface/history.acc
r2029 r2906 60 60 <type>sloot.mimeparse</type> 61 61 <accept>var:Accept</accept> 62 <types>xml:application/xml html:text/html </types>62 <types>xml:application/xml html:text/html atom:application/atom+xml</types> 63 63 <target>var:representation</target> 64 64 </instr> … … 143 143 <cast> 144 144 <mimetype>text/html</mimetype> 145 </cast> 146 </operator> 147 <target>this:response</target> 148 </instr> 149 </then> 150 <cond> 151 <instr> 152 <type>sloot.xpath2eval</type> 153 <operand>var:representation</operand> 154 <operator> 155 <xpath>.='atom'</xpath> 156 </operator> 157 <target>this:cond</target> 158 </instr> 159 </cond> 160 <then> 161 <instr> 162 <type>xslt2</type> 163 <operand>var:response</operand> 164 <operator>ffcpl:/representations/atom/DC-history.xsl</operator> 165 <props>active:ISOcat.manage.system.properties</props> 166 <target>this:response</target> 167 </instr> 168 <instr> 169 <type>cast</type> 170 <operand>this:response</operand> 171 <operator> 172 <cast> 173 <mimetype>application/atom+xml</mimetype> 145 174 </cast> 146 175 </operator> -
cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/html/DC-history.xsl
r2029 r2906 24 24 <xsl:value-of select="$props//site"/> 25 25 <xsl:text>rest/dc/</xsl:text> 26 <xsl:value-of select="$node/(@id|@dc )"/>26 <xsl:value-of select="$node/(@id|@dc|@ref)"/> 27 27 </xsl:function> 28 28 … … 52 52 <xsl:template match="change"> 53 53 <dt> 54 <xsl:value-of select="@timestamp"/> 55 <xsl:text> - </xsl:text> 56 <xsl:choose> 57 <xsl:when test="exists(user/name)"> 58 <xsl:value-of select="user/name"/> 59 </xsl:when> 60 <xsl:otherwise> 61 <i>unknown</i> 62 </xsl:otherwise> 63 </xsl:choose> 54 <a name="c{@isocat:id}"> 55 <xsl:value-of select="@timestamp"/> 56 <xsl:text> - </xsl:text> 57 <xsl:choose> 58 <xsl:when test="exists(user/name)"> 59 <xsl:value-of select="user/name"/> 60 </xsl:when> 61 <xsl:otherwise> 62 <i>unknown</i> 63 </xsl:otherwise> 64 </xsl:choose> 65 </a> 64 66 </dt> 65 67 <dd> … … 79 81 <span> 80 82 <xsl:text>History of </xsl:text> 81 <xsl: value-of select="isocat:link($node)"/>83 <xsl:copy-of select="isocat:link($node)"/> 82 84 <xsl:text> - </xsl:text> 83 85 <xsl:value-of select="$node/@version"/> -
cats/ISOcat/trunk/mod-ISOcat-manage-system/manage/import-batch.acc
r2029 r2906 326 326 <xsl:apply-templates select="node()"/> 327 327 <xsl:choose> 328 <xsl:when test=" exists(dcif:creation)">328 <xsl:when test="normalize-space(dcif:creation)!=''"> 329 329 <isocat:change> 330 330 <xsl:value-of select="dcif:creation/dcif:changeDescription"/> 331 331 </isocat:change> 332 332 </xsl:when> 333 <xsl:when test=" exists(dcif:lastChange)">333 <xsl:when test="normalize-space(dcif:lastChange)!=''"> 334 334 <!-- a bit weird: why does a new DC has not a creation but a last change message? --> 335 335 <isocat:change>
Note: See TracChangeset
for help on using the changeset viewer.