Skip to content

_xparse

bergsma edited this page Sep 26, 2014 · 3 revisions

#xparse

###Parse XML from a file into a hyperscript variable.

Syntax

status = xparse filespec ;

Arguments

  1. str filespec

The file specification containing the XML structure.

Return Value

boolean status
  • $ACKNOWLEDGE : XML structure in file was successfully parsed.

The STATUS variable is set to $ACKNOWLEDGE

  • %FILE : Could not open file.

The STATUS variable is set to %FILE

  • %XML : Failed to parse XML.

The STATUS variable is set to %XML

Warnings

  • %FILE : Could not open file.
  • %XML : Failed to parse XML.

Exceptions

  • %ARGUMENT: Invalid arguments. Usage: status = xparse filespec ;

Description

  • None

Examples

puts "Create an example for the function 'xparse'" ;

Related Links

None

Clone this wiki locally