Sha256: 26ecb8452adbfe59b4627622f78cfb2773dc71e8669f8139d8418e7313bbc860

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

<?xml version="1.0" encoding="utf-8"?>
<!--
  js-response.xslt
 
  This software is the proprietary information of Laszlo Systems, Inc.
  Use is subject to license terms.
--> 

<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
* Copyright 2001-2004 Laszlo Systems, Inc.  All Rights Reserved.              *
* Use is subject to license terms.                                            *
* X_LZ_COPYRIGHT_END ****************************************************** -->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">
  
  <xsl:output method="text"/>
  
  <xsl:template match="/">
    <text>
        if (lzShowInlineExamples()) {
            lzEmbed({url: '<xsl:value-of select="/canvas/request/@fullpath"/>?lzt=swf<xsl:value-of select="/canvas/request/@query_args"/>', bgcolor: '<xsl:value-of select="/canvas/@bgcolor"/>', width: '<xsl:value-of select="/canvas/@width"/>', height: '<xsl:value-of select="/canvas/@height"/>'});
        } else {
            document.write('&lt;button onclick="lzSetShowInlineExamples(true)"&gt;Show Examples&lt;/button&gt;')
        }
    </text>
  </xsl:template>

</xsl:stylesheet>

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
leftplayer-0.1.1 src/lps-4.9.0/Server/lps-4.9.0/WEB-INF/lps/templates/inline-example-response.xslt
leftplayer-0.1.1 src/lps-4.9.0/Server/lps-4.9.0/WEB-INF/lps/templates/inline-example-response_jp.xslt
leftplayer-0.1 src/lps-4.9.0/Server/lps-4.9.0/WEB-INF/lps/templates/inline-example-response.xslt
leftplayer-0.1 src/lps-4.9.0/Server/lps-4.9.0/WEB-INF/lps/templates/inline-example-response_jp.xslt