Creates an inputstream for the file with the id indicated in the attributes and the file will be returned.
1 file.in.open
<file.in.open>
<id /> !
</file.in.open>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Eid | String | Identifier of the wished file. |
Returns | |
---|---|
Type | Description |
File | File with identifier id. |
Example
Creates a file and then its associated inputstream.
Copy
<xsql-script name='file_open_sample1'> <body> <set name = 'm_file'> <file name='test.txt'/> </set> <println> <file.in.open id='in1'> <m_file/> </file.in.open> </println> </body> </xsql-script>