83 references to DocumentElement
ComSvcConfig (1)
EndpointConfigContainer.cs (1)
767startupNode = xmlDoc.DocumentElement.SelectSingleNode("startup");
PresentationBuildTasks (2)
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (2)
385XmlNode root = xmlProjectDoc.DocumentElement; 462XmlNode root = xmlProjectDoc.DocumentElement;
PresentationFramework (7)
src\Framework\MS\Internal\Globalization\BamlTreeMap.cs (2)
658if (doc != null && doc.DocumentElement != null) 660foreach(XmlNode node in doc.DocumentElement.ChildNodes)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (3)
376_xamlReader = new XmlNodeReader(_fixedPageDomTree.DocumentElement); 817fixedPageTree.DocumentElement.SetAttribute(_xmlLangAttribute, _xamlReader.XmlLang); 821_fixedPageContentExtractor = new FixedPageContentExtractor(fixedPageTree.DocumentElement);
src\Framework\System\Windows\Data\XmlDataProvider.cs (2)
523XmlNode root = doc.DocumentElement; 775if (doc.DocumentElement != null)
System.Configuration (11)
System\Configuration\BaseConfigurationRecord.cs (3)
2029doc.DocumentElement.RemoveAttribute(KEYWORD_CONFIG_BUILDER); 2030reader = new ConfigXmlReader(doc.DocumentElement.OuterXml, filename, lineNumber); 4304processedXml = CallHostProcessRawXml(doc.DocumentElement, configBuilder);
System\Configuration\DPAPIProtectedConfigurationProvider.cs (2)
47return xmlDocument.DocumentElement; 61return xmlDocument.DocumentElement;
System\Configuration\ErrorInfoXmlDocument.cs (1)
83XmlNode xmlNode = doc.DocumentElement;
System\Configuration\ProtectedConfigurationSection.cs (3)
74XmlNode resultNode = provider.Decrypt(doc.DocumentElement); 93string sectionName = xmlDocument.DocumentElement.Name; 94XmlNode encNode = provider.Encrypt(xmlDocument.DocumentElement);
System\Configuration\RSAProtectedConfigurationProvider.cs (2)
40return xmlDocument.DocumentElement; 60inputElement = xmlDocument.DocumentElement;
System.Data (25)
fx\src\data\System\Data\DataSet.cs (5)
1494if (xdoc.DocumentElement == null) 1706this.DataSetName = xdoc.DocumentElement.LocalName; 2061XmlElement root = xdoc.DocumentElement; 2170string ns = xdoc.DocumentElement.NamespaceURI; 2361topNode = xdoc.DocumentElement;
fx\src\data\System\Data\DataTable.cs (1)
5371topNode = xdoc.DocumentElement;
fx\src\data\System\Data\XmlDataLoader.cs (4)
271if (xdoc.DocumentElement == null) 313XmlElement e = xdoc.DocumentElement; 325LoadRows( topRow, xdoc.DocumentElement ); 326AttachRows( topRow, xdoc.DocumentElement );
fx\src\data\System\NewXml\XmlDataDocument.cs (14)
193Debug.Assert( DocumentElement == null || ! fLoadFromDataSet ); 201if ( DocumentElement != null ) { 426XmlElement docelem = DocumentElement; 441XmlElement docElem = this.DocumentElement; 455Debug.Assert( this.GetRowFromElement( this.DocumentElement ) != null ); 458XmlElement oldDocElem = this.DocumentElement; 1097Debug.Assert( DocumentElement != null ); 1098LoadRows( null, DocumentElement ); 1099SyncRows( null, DocumentElement, true ); 1253DataRow rowDocElem = GetRowFromElement( this.DocumentElement ); 1475if ( rowElement == this.DocumentElement ) 1545if ( childElement == this.DocumentElement || childElement.ParentNode == null ) 2037Debug.Assert( prevSibling != this.DocumentElement ); 2050Debug.Assert( parent != DocumentElement ); // We cannot promote children of the DocumentElement
fx\src\data\System\NewXml\XPathNodePointer.cs (1)
322XmlElement rootElem = ((XmlDocument)this._node).DocumentElement;
System.Data.Entity.Design (2)
System\Data\Entity\Design\EntityDesignerUtils.cs (2)
67if (xmlDocument.DocumentElement.NamespaceURI == v2Namespaces.Edmx) 71else if (xmlDocument.DocumentElement.NamespaceURI == v1Namespaces.Edmx)
System.IdentityModel (4)
System\IdentityModel\Configuration\ConfigurationElementInterceptor.cs (2)
19using ( XmlReader newReader = XmlDictionaryReader.CreateTextReader( Encoding.UTF8.GetBytes( elementXml.DocumentElement.OuterXml ), XmlDictionaryReaderQuotas.Max ) ) 63return elementXml.DocumentElement;
System\IdentityModel\Protocols\WSTrust\EndpointReference.cs (1)
111er._details.Add( doc.DocumentElement );
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (1)
2826securityTokenXml = dom.DocumentElement;
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (1)
239xmlDoc.DocumentElement,
System.ServiceModel (3)
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
707section = new MetadataSection(null, null, doc.DocumentElement);
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
97foreach (XmlElement element in doc.DocumentElement.ChildNodes)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
467return dom.DocumentElement;
System.Web (9)
Compilation\BuildManager.cs (1)
2661XmlNode root = doc.DocumentElement;
Compilation\PreservationFileReader.cs (1)
72_root = doc.DocumentElement;
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
457XmlNode rootNode = doc.DocumentElement; 569XmlNode rootNode = doc.DocumentElement;
Configuration\RemoteWebConfigurationHostServer.cs (2)
239node = provider.Encrypt(xmlDocument.DocumentElement); 241node = provider.Decrypt(xmlDocument.DocumentElement);
UI\WebControls\AdRotator.cs (3)
599if (doc.DocumentElement != null && 600doc.DocumentElement.LocalName == XmlDocumentTag) { 602XmlNode elem = doc.DocumentElement.FirstChild;
System.Web.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
1974DeserializeObject(objectToDeserialize, null, GetObjectName(objectToDeserialize), xmlDocument.DocumentElement, xmlDocument);
System.Web.Extensions (2)
Compilation\WCFModel\MetadataFile.cs (2)
701metadataSection = MetadataSection.CreateFromPolicy(metadata.MetadataXmlDocument.DocumentElement, null); 708metadataSection = new MetadataSection(null, null, metadata.MetadataXmlDocument.DocumentElement);
System.Web.Services (1)
System\Web\Services\Description\ServiceDescription.cs (1)
594documentationElement = parent.DocumentElement;
System.Windows.Forms (4)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (2)
1015licenseDom.DocumentElement.ParentNode.InnerXml = "<msrel:RelData xmlns:msrel=\"" + 1084signedXml.KeyInfo.AddClause(new KeyInfoNode(licenseDom.DocumentElement));
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
1759licenseDom.DocumentElement.ParentNode.InnerXml = "<msrel:RelData xmlns:msrel=\"" + 1935signedXml.KeyInfo.AddClause(new KeyInfoNode(licenseDom.DocumentElement));
System.Windows.Forms.DataVisualization (1)
Common\Utilities\XmlSerializer.cs (1)
1974DeserializeObject(objectToDeserialize, null, GetObjectName(objectToDeserialize), xmlDocument.DocumentElement, xmlDocument);
System.Xml (6)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
246XmlElement docElem = ((XmlDocument)node).DocumentElement;
System\Xml\Dom\DocumentXPathNavigator.cs (1)
163XmlElement element = document.DocumentElement;
System\Xml\Dom\XmlDocument.cs (3)
376if ( DocumentElement != null ) 1164if ( DocumentElement == null ) 1459XmlElement documentElement = DocumentElement;
System\Xml\Serialization\XmlSerializationWriter.cs (1)
684node = ((XmlDocument)node).DocumentElement;
WindowsBase (3)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (3)
1179xDoc.DocumentElement.AppendChild(XmlSignatureManifest.GenerateManifest(_manager, xDoc, hashAlgorithm, parts, relationshipSelectors)); 1180xDoc.DocumentElement.AppendChild(XmlSignatureProperties.AssembleSignatureProperties(xDoc, DateTime.Now, _manager.TimeFormat, signatureId)); 1183dataObject.Data = xDoc.DocumentElement.ChildNodes;