Handbook
Glossary
file>xml ( filename -- xml )
Furnace framework
»
XML parser
»
Reading XML
Prev:
string>xml-chunk ( string -- xml )
Next:
bytes>xml ( byte-array -- xml )
Vocabulary
xml
Inputs
filename
a
string
Outputs
xml
a
xml
Word description
Opens the given file, reads it in as XML, closes the file and returns the corresponding XML tree. The encoding is automatically detected.
See also
string>xml
,
read-xml
,
bytes>xml
Definition
USING:
io.encodings.binary
io.files
;
IN:
xml
:
file>xml
( filename -- xml )
binary
<file-reader>
read-xml
;