moved xpql over and test for release
This commit is contained in:
parent
a51eeeb254
commit
fa06f4e015
56 changed files with 3009 additions and 158 deletions
87
vasc-xpql/src/test/resources/xpql/test-all.xml
Normal file
87
vasc-xpql/src/test/resources/xpql/test-all.xml
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xtes xmlns="http://xtes.idcanet.com/eld/xtes-lang.eld"
|
||||
xmlns:x4o="http://x4o.idcanet.com/eld/x4o-lang.eld"
|
||||
>
|
||||
<query name="limit">
|
||||
<sql>
|
||||
LIMIT <parameter name="limit"/>
|
||||
</sql>
|
||||
<parameterValue name="limit" value="10" defaultValue="200" type="parameter"/>
|
||||
</query>
|
||||
<query name="paging" type="hql">
|
||||
<sql>
|
||||
OFFSET <parameter name="offset"/>
|
||||
<include name="limit"/>
|
||||
</sql>
|
||||
<parameterValue name="offset" value="0" defaultValue="0" type="parameter"/>
|
||||
</query>
|
||||
<query name="baseSelect">
|
||||
<x4o:property name="executionTimeout" value="200"/>
|
||||
<x4o:property name="cacheTimeout" value="99"/>
|
||||
<x4o:property name="jdniConnection" value="somewhere"/>
|
||||
<sql>
|
||||
SELECT
|
||||
USERS.USERNAME AS USERNAME
|
||||
USERS.PASSWD AS PASSWORD
|
||||
FROM
|
||||
USERS
|
||||
</sql>
|
||||
<comment>Bla bla</comment>
|
||||
<comment>Also see this site http://www.google.com</comment>
|
||||
</query>
|
||||
|
||||
<xslt name="test">
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
<!-- Import of the original stylesheet which "just" creates a bunch of HTML files from any valid DocBook instance -->
|
||||
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
|
||||
|
||||
<!-- You must plug-in your custom templates here -->
|
||||
<xsl:template match="/">
|
||||
<!-- Call original code from the imported stylesheet -->
|
||||
<xsl:apply-imports/>
|
||||
|
||||
<!-- Call custom templates for the ToC and the manifest -->
|
||||
<xsl:call-template name="etoc"/>
|
||||
<!-- DISABLED WRITE PLUGIN.xml(only needed in sepertor help project) <xsl:call-template name="plugin.xml"/> -->
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xslt>
|
||||
|
||||
<mail name="test-email">
|
||||
<x4o:property name="mail.from" value="ergens@nowhere.nl"/>
|
||||
<x4o:property name="mail.subject" value="Check je porn collectie"/>
|
||||
<x4o:property name="mail.bcc" value="bcc@yoyo.nl"/>
|
||||
Beste <parameter name="name"/>,<br/>
|
||||
<br/>
|
||||
Hier is uw factuur;<br/>
|
||||
datum: <parameter name="date"/><br/>
|
||||
total: <parameter name="total"/><br/>
|
||||
<a href="[#]${appiets.map['key']}[/#]/affiliatelinks.jsp">clickje</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<query name="get_products">
|
||||
<queryvalue name="userid" value="[from_id/]"/>
|
||||
</query>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
Groeten,<br/>
|
||||
<parameter name="full_name"/><br/>
|
||||
</mail>
|
||||
|
||||
|
||||
<query name="testUsers2" type="hql">
|
||||
<x4o:property name="persistanceSession" value="sessionName"/>
|
||||
<sql>
|
||||
<!-- SOME COMMENT -->
|
||||
<include name="baseSelect"/>
|
||||
<parameter name="extra_where"/>
|
||||
AND role is in <parameter name="roles"/>
|
||||
<include name="paging"/>
|
||||
</sql>
|
||||
<parameterValue name="extra_where" defaultValue="WHERE true=true" type="raw"/>
|
||||
<parameterValue name="roles" value="1,12,99,200" type="parameterList"/>
|
||||
<parameterValue name="limit" value="15"/>
|
||||
<parameterValue name="offset" value="25"/>
|
||||
</query>
|
||||
</xtes>
|
||||
Loading…
Add table
Add a link
Reference in a new issue