Changeset 1408 for MDService2/trunk/MDService2
- Timestamp:
- 06/09/11 21:52:13 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/xsl/test2view.xsl
r1406 r1408 1 1 <?xml version="1.0"?> 2 <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> 2 <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 xmlns:diag="http://www.loc.gov/zing/srw/diagnostic"> 3 4 4 5 <!-- … … 37 38 </xsl:when> 38 39 <xsl:otherwise> 39 <xsl: copy-of select="document(concat($base_url,@href))"/>40 <xsl:apply-templates select="document(concat($base_url,@href))" mode="process-query"/> 40 41 </xsl:otherwise> 41 42 </xsl:choose> … … 50 51 </xsl:template> 51 52 53 <!-- 54 <diagnostics> 55 <diagnostic xmlns="http://www.loc.gov/zing/srw/diagnostic"> 56 <uri>info:srw/diagnostic/1/1</uri> 57 <message>Exception occurred: Connection refused: connect</message> 58 --> 59 <xsl:template match="diagnostics" mode="process-query" > 60 <div class="error" > 61 <xsl:value-of select="diag:diagnostic/diag:message" /> 62 </div> 63 </xsl:template> 64 52 65 53 66 </xsl:stylesheet>
Note: See TracChangeset
for help on using the changeset viewer.