Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter ElevenSGML Functions (continued)

11.3.5 SGML Parsing Functions

The primary initiator to parse are the SGMLNextItem and SGMLNextElement functions. If a script is looking to just walk through elements to collect for find tag data, the SGMLNextElement is the best choice. The parser can also scan forward [and backward] for tags.

If the element is too large (4K) or comment (64K), the parser will complete the parse and set an error. This gives the script an opportunity to correct the issue or limitation.

On error, the parser will attempt to recover at the most appropriate spot. A common example is a missing close quote which forces the parser to gobble up other tags.

Elements:

Errors and Normalization:

Parsing Functions:

Item Properties: