Subject: Re: parameter concatinating
From: "Scott Boag/CAM/Lotus" <Scott_Boag/CAM/Lotus@xxxxxxxxx>
Date: Wed, 11 Aug 1999 11:04:24 -0400 (EST)
|
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
xmlns:db2xml="com.ibm.locators.DB2XMLLocator"
xmlns:lxslt="http://xsl.lotus.com/"
extension-element-prefixes="db2xml"
indent-result="yes">
<lxslt:component prefix="db2xml" functions="connect">
<lxslt:script lang="javaclass" src="com.ibm.locators.DB2XMLLocator"/>
</lxslt:component>
<xsl:template match="/">
<xsl:variable name="order_view" select="db2xml:connect(
'COM.ibm.db2.jdbc.app.DB2Driver',
'jdbc:db2:mydb;',
'cindy',
'zow',
'order_view',
'order',
'price > 1500')"/>
<xsl:copy-of select="$order_view/Order/Date"/>
</xsl:template>
</xsl:stylesheet>
Scott Boag
Advanced Technology Group
Lotus Development Corporation
617-693-5295
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|