The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

TITLE

add_classes - add class information to an attachment point database

SYNOPSIS

  add_classes -c classes.xml infile.xml

For each glyph in the infile.xml attachment point database, find all the classes in classes.xml containing names that match the glyph. Ensure that the classes property contains a list of those classes that match. Print the results to stdout.

OPTIONS

  -c classes.xml    List of classes and their contents
  -h                print manpage

DESCRIPTION

Inserting a classes property in an attachment point database allows one to create context classes in the generated GDL or VOLT.

The DTD for the classes file is:

    <!ELEMENT classes (class)*>

    <!ELEMENT class (#PCDATA)>
    <!ATTLIST class
        name    CDATA #REQUIRED>

SEE ALSO