source: documented-examples/trunk/lomdemo-e/transform/pages/about.xsl@ 36277

Last change on this file since 36277 was 36277, checked in by anupama, 23 months ago

First part of porting LOMdemo DEC collection to GS3. I've still not found why the doc.xml that gets generated, containing escaped HTML, gets displayed differently in GS2 (where the HTML looks nice and tabular) from GS3, where there's just XML tags, no nicely formated and styled table as with GS2.

File size: 766 bytes
RevLine 
[36277]1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4
5 <xsl:template name="coll-description">
6 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='shortDescription']"/>
7
8 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description1']"/>
9 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description2']"/>
10 <xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/displayItemList/displayItem[@name='description3']"/>
11
12 </xsl:template>
13
14</xsl:stylesheet>
15
Note: See TracBrowser for help on using the repository browser.