element <tns:script>
Namespace:
Type:
anonymous (extension of tns:scriptType)
Content:
complex, 6 attributes, 4 elements
Defined:
Includes:
definitions of 2 elements
XML Representation Summary
<tns:script
    continue
 = 
("async" | "sync" | "exclusive") : "sync"
    expr
 = 
string
    g
 = 
string
    lang
 = 
string
    name
 = 
string
    var
 = 
string
    >
   
Content: 
tns:description?, tns:text?, (tns:on | tns:transition)*
</tns:script>
Content model elements (4):
tns:description (type string),
tns:text (type string),
Included in content model of elements (2):
tns:group (type anonymous),
Definition Locations
Annotation
Evaluates a piece of text as a script.
Anonymous Type Detail
Type Derivation Tree
  complexType (extension)
XML Source (see within schema source)
<element name="script">
<annotation>
<documentation>Evaluates a piece of text as a script.</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="tns:scriptType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="tns:on"/>
<element ref="tns:transition"/>
</choice>
<attributeGroup ref="tns:activityAttributes"/>
</extension>
</complexContent>
</complexType>
</element>
Attribute Detail
continue
Type:
Use:
optional
Default:
"sync"
Defined:
locally, within tns:activityAttributes attributeGroup
Specifies async continuation.
XML Source (see within schema source)
<attribute default="sync" name="continue" type="tns:continueType">
<annotation>
<documentation>Specifies async continuation.</documentation>
</annotation>
</attribute>

expr
Type:
string, predefined
Use:
optional
Defined:
locally, within tns:scriptType complexType
The value of this attribute is the script to evaluate. This attribute and the text element are mutually exclusive.
XML Source (see within schema source)
<attribute name="expr" type="string">
<annotation>
<documentation>
The value of this attribute is the script to evaluate.
This attribute and the text element are mutually exclusive.
</documentation>
</annotation>
</attribute>

g
Type:
string, predefined
Use:
optional
Defined:
locally, within tns:activityAttributes attributeGroup
Graphical information used by process designer tool.
XML Source (see within schema source)
<attribute name="g" type="string">
<annotation>
<documentation>
Graphical information used by process designer tool.
</documentation>
</annotation>
</attribute>

lang
Type:
string, predefined
Use:
optional
Defined:
locally, within tns:scriptType complexType
Identifies the scripting language in use.
XML Source (see within schema source)
<attribute name="lang" type="string">
<annotation>
<documentation>Identifies the scripting language in use.</documentation>
</annotation>
</attribute>

name
Type:
string, predefined
Use:
optional
Defined:
locally, within tns:activityAttributes attributeGroup
Name of this activity. The name should be unique in the complete scope of the process.
XML Source (see within schema source)
<attribute name="name" type="string">
<annotation>
<documentation>
Name of this activity. The name should be unique
in the complete scope of the process.
</documentation>
</annotation>
</attribute>

var
Type:
string, predefined
Use:
optional
Defined:
locally, within tns:scriptType complexType
Name of the variable in which the result of the script evaluation will be stored.
XML Source (see within schema source)
<attribute name="var" type="string">
<annotation>
<documentation>
Name of the variable in which the result
of the script evaluation will be stored.
</documentation>
</annotation>
</attribute>
Content Element Detail
tns:description
Type:
string, predefined, simple content
Defined:
locally, within tns:scriptType complexType
XML Source (see within schema source)
<element minOccurs="0" name="description" type="string"/>

tns:on
Type:
anonymous, complex content
Defined:
by reference, within (this) tns:script element
XML Source (see within schema source)
<element ref="tns:on"/>

tns:text
Type:
string, predefined, simple content
Defined:
locally, within tns:scriptType complexType
The text content of this element is the script to evaluate. This element and the expression attribute are mutually exclusive.
XML Source (see within schema source)
<element minOccurs="0" name="text" type="string">
<annotation>
<documentation>
The text content of this element is the script to evaluate.
This element and the expression attribute are mutually exclusive.
</documentation>
</annotation>
</element>

tns:transition
Type:
tns:transitionType, complex content
Defined:
by reference, within (this) tns:script element
XML Source (see within schema source)
<element ref="tns:transition"/>

This XML schema documentation has been generated with DocFlex/XML RE 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set.
DocFlex/XML RE is a reduced edition of DocFlex/XML, which is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-end XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support more than 300 template parameters (working the same as "options" of an ordinary doc-gen), which will give you an unprecedented control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To enable/disable documenting of the initial, imported, included and redefined XML schemas selectively.
  • To document local element components both globally and locally (similar to attributes).
  • To enable/disable reproducing of namespace prefixes.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in the form of a single HTML file.
  • To use the same template to generate the incredible quality RTF documentation.
  • To document only selected XML schema components specified by name.
  • To remove this very advertisement text
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML SDK and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for DocFlex/XML SDK will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note: By purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the result of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To buy a license, please follow this link: http://www.filigris.com/shop/