Last change
on this file since 31552 was 29635, checked in by kjdon, 9 years ago |
a page, use with a=p&sa=html&c=collname&url=xxx, to embed xxx page into collection collname
|
File size:
1012 bytes
|
Rev | Line | |
---|
[29635] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <xsl:stylesheet version="1.0"
|
---|
| 3 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
| 4 | xmlns:java="http://xml.apache.org/xslt/java"
|
---|
| 5 | xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
|
---|
| 6 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
| 7 | extension-element-prefixes="java util"
|
---|
| 8 | exclude-result-prefixes="java util">
|
---|
| 9 |
|
---|
| 10 | <!-- use the 'main' layout -->
|
---|
| 11 | <xsl:include href="layouts/main.xsl"/>
|
---|
| 12 |
|
---|
| 13 | <!-- set page title -->
|
---|
| 14 | <xsl:template name="pageTitle"><gslib:collectionName/></xsl:template>
|
---|
| 15 |
|
---|
| 16 | <!-- set page breadcrumbs -->
|
---|
| 17 | <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/></xsl:template>
|
---|
| 18 |
|
---|
| 19 | <!-- the page content -->
|
---|
| 20 | <xsl:template match="/page">
|
---|
| 21 | <iframe width="100%" height="600" frameborder="0"><xsl:attribute name="src"><xsl:value-of select="/page/pageRequest/paramList/param[@name='url']/@value"/></xsl:attribute>Frame for <xsl:value-of select="/page/pageRequest/paramList/param[@name='url']/@value"/></iframe>
|
---|
| 22 | </xsl:template>
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | </xsl:stylesheet>
|
---|
| 26 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.