Validating a DOM Document against an ASModel

    if (impl.hasFeature("AS-DOC 3.0")) {
      Document doc = parser.parseURI("????");
      DocumentAS docWithSchema = (DocumentAS) doc;
      docWithSchema.addAS(schema);
      docWithSchema.validate()
      // Process the data...
    }

Previous | Next | Top | Cafe con Leche

Copyright 2000-2002 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified February 14, 2002