[Up] |
Work in progressThis version may be updated without notice. |
Copyright © INRIA
This specification describes a System optional module for
. This System module provides tags, attributes, functions and predefined properties related to System interactions.The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
Note that for reasons of style, these words are not capitalized in this document.
The following specifications are part of the technologies.
1 The System module
2 System module reference
2.1 Elements
2.2 Foreign attributes
2.3 Predefined properties
2.4 Extended XPath functions
2.5 Data types
This
module has been designed to provide basic System interactions. It provides standard I/O properties, a mean to get the environment variables, etc.System namespace URI | : | http://www.inria.fr/xml/active-tags/sys |
Usual prefix | : | sys |
Foreign attributes | Predefined properties |
---|---|
@sys:version | $sys:in $sys:out $sys:err $sys:null $sys:encoding $sys:env |
No additional elements are defined by this module.
- Priority : 0
The version of the System module to use. This attribute should be encountered before any System element, but it takes precedence on the element inside which it is hosted.
Property type: io:input $sys:in is a reference to the standard input stream (keyboard).
Property type: io:output $sys:out is a reference to the standard output stream (console).
Property type: io:output $sys:err is a reference to the standard error output stream.
Property type: io:output $sys:null is a reference to the null output stream. Any byte written it this output is ignored.
Property type: xs:string $sys:encoding contains the default locale charset encoding.
Property type: adt:list of xs:string $sys:env contains the list of environment variables known by the underlying engine.
No additional XPath functions are defined by this module.
No additional data types are defined by this module.
This list is not exhaustive; it is a list of common modules usable by an engine that implements the
specifications that implementors may use. Additional modules are welcome.<asl:active-schema asl:version="1.0" target="sys" schema-version="1.0" xml:lang="en" xmlns:sys="http://www.inria.fr/xml/active-tags/sys" xmlns:asl="http://www.inria.fr/xml/active-schema"> <asl:attribute name="sys:version" ref-type="xs:string"/> </asl:active-schema>