DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance( ); factory.setNamespaceAware( true ); DocumentBuilder builder = factory.newDocumentBuilder( );
uri = new URI( fileName ); }  XSLoader xsLoader = new XSLoaderImpl( ); XSModel xsModel = xsLoader.loadURI( uri.toString( ) ); ATreeNode complexTypesRoot = populateComplexTypeTree( xsModel );
	public static ATreeNode getSchemaTree( String fileName )			throws OdaException	{		try		{		    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance( );			factory.setNamespaceAware( true );			DocumentBuilder builder = factory.newDocumentBuilder( );			Document document = builder.parse( fileName );			NodeList nodes = document.getChildNodes( );			ATreeNode root = new ATreeNode( );			root.setValue( "ROOT" );			populateNodeList( nodes, root, 0 );			populateRoot( root );			return root;		}		catch ( ParserConfigurationException e )		{			throw new OdaException( e.getMessage( ) );		}		catch ( SAXException e )		{			throw new OdaException( e.getMessage( ) );		}		catch ( IOException e )		{			throw new OdaException( e.getMessage( ) );		}	}