This week we will examine SGML parsing in Legato with two simple scripts. Many times you may want to simply scan or parse HTML or XML in order to locate particular data or log information. At that point, the data can be modified or other operations can be performed upon it. Legato contains word parsing and a full SGML Parse object. Full SGML parsing provides for DTD (Document Type Definition or Schema) checking, error checking and recovery, multiple line tag support, writing tools, as well as many other things. It’s powerful, but it also has a steeper learning curve. The SGML Parse object will be covered in a later series of articles. For now, let’s focus on the SGML mini-parse functions.
Continue reading "Legato Developers Corner #6: Basic SGML Parsing" »