Recent Changes in XML Module

  • Added a validation application that runs throught one or more documents, displaying all the warnings/errors rather than terminating on the first one.
  • Some subsetting "methods" for the XML classes are available in SubsetFunctions and can be added to the evaluator via the command
         addFunctionTable(SubsetFunctions)
    
    and used as in
            doc[[0]]
            doc[["path"]]  //get a list of all child nodes of doc
                                               // whose tag name is path
    
            doc.getAttributes()[[0]]        //first attribute of list
            doc.getAttributes()[["foo"]]    // attribute named foo   
    
    Some example scripts are in the XML/Scripts/Examples/ directory.
  • Class converting an AttributeList to a collection of properties (a TrimmedProperties object).

  • Duncan Temple Lang <duncan@research.bell-labs.com>
    Last modified: Fri Oct 22 13:40:25 PDT 1999