File: vc_script.xml

package info (click to toggle)
virtuoso-opensource 6.1.4%2Bdfsg1-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 245,116 kB
  • sloc: ansic: 639,631; sql: 439,225; xml: 287,085; java: 61,048; sh: 38,723; cpp: 36,889; cs: 25,240; php: 12,562; yacc: 9,036; lex: 7,149; makefile: 6,093; jsp: 4,447; awk: 1,643; perl: 1,017; ruby: 1,003; python: 329
file content (57 lines) | stat: -rw-r--r-- 2,097 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<refentry id="vc_script">
  <refmeta>
  <refentrytitle>script</refentrytitle>
  <refmiscinfo>vspx_control</refmiscinfo>
  </refmeta>
  <refnamediv>
  <refname>script</refname>
  <refpurpose>A (redundant) wrapper for SQL code, can be omitted.</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
   <funcsynopsis id="vc_syn_script">
    <funcprototype id="vc_proto_script">
      <funcdef>
            &lt;<function>script</function> <attribute>
          <parameter>language</parameter> (optional) </attribute>
        <attribute>
          <parameter>debug-srcfile</parameter> (optional) </attribute>
        <attribute>
          <parameter>debug-srcline</parameter> (optional) </attribute>
        <attribute>
          <parameter>debug-log</parameter> (optional) </attribute>
 /&gt;</funcdef>
    </funcprototype>
   </funcsynopsis>
  </refsynopsisdiv>
  <refsect1 id="vc_desc_script">
  <title>Description</title>
  <para>
This control can appear only inside event handling controls and it always contain SQL code to be executed when the event occurs.
There is no difference for VSPX compiler whether SQL code is enclosed in &#39;script&#39; control or not.
Some WYSIWYG tools can display the enclosed SQL code to the application developer according to custom attributes of this control
but it does not affect the generated Virtuoso/PL code of the page.
</para>
  </refsect1>
  <refsect1 id="vc_attrs_script">
  <title>Attributes</title>
  <formalpara>
   <title>language = <link linkend="vc_type_SqlName">SqlName</link>
   </title>
    <para>Denotes the type of language,
	    currently only Virtuoso/PL expressions are supported.</para>
  </formalpara>
  <formalpara>
    <title>debug-srcfile</title>
    <para>URI of the source document where the tag comes from.</para>
  </formalpara>
  <formalpara>
    <title>debug-srcline</title>
    <para>Line number in the source document where the tag comes from.</para>
  </formalpara>
  <formalpara>
    <title>debug-log</title>
    <para>This defines what sort of data are saved to the debugging log.
</para>
  </formalpara>
  </refsect1>
</refentry>