Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlDocument.LoadXml(String, XmlLoadSettings) | loadXml(String, XmlLoadSettings) method

Applies to Windows and Windows Phone

Loads an XML document using the supplied string. The document is parsed using the settings provided.

Syntax


xmlDocument.loadXml(xml, loadSettings);

Parameters

xml

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The XML string to load into this XML document object. This string can contain an entire XML document or a well-formed fragment.

loadSettings

Type: XmlLoadSettings

The settings for parsing the document.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Data.Xml.Dom
Windows::Data::Xml::Dom [C++]

Metadata

Windows.winmd

See also

XmlDocument
LoadXml(String)

 

 

Show:
© 2014 Microsoft. All rights reserved.