예제 #1
0
        public XmlSchemaTypeCollection(
            XmlQualifiedName[] namespaces,
            string targetNamespace,
            DomNodeTypeCollection typeCollection)
        {
            m_namespaces      = namespaces;
            m_targetNamespace = targetNamespace;
            m_typeCollection  = typeCollection;

            foreach (XmlQualifiedName ns in m_namespaces)
            {
                if (ns.Name == string.Empty)
                {
                    m_defaultNamespace = ns.Namespace;
                    break;
                }
            }
        }
예제 #2
0
 public DomXmlReader(ChildInfo rootNodeInfo, DomNodeTypeCollection typeCollection)
 {
     m_typeCollection = typeCollection;
     m_rootNodeInfo   = rootNodeInfo;
 }