removed the browser() calls
added nexml schema. Added inline parameter to allow caller to avoid inserting imported schema inline into the document that imported them. This causes massive memory problems when there are circularities.