url Property (DOMDocument)
Returns the URL for the last loaded XML document.
The following script example creates a DOMDocument and displays the value of its url property.
- urlString[out, retval]
The URL from the last successful load. If the document is being built in memory, this property returns Null.
Value returned if successful.
Value returned if there is no URL.
Value returned if the urlString parameter is Null.
String. The property is read-only. It returns the URL from the last successful load. If the document is being built in memory, this property returns Null.
The url property is not updated after saving a document with the save method. To update the url property, reload the document using the load method.
This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).
MSXML 3.0, MSXML 6.0